diff --git a/src/xenia/hid/winkey/hookables/goldeneye.cc b/src/xenia/hid/winkey/hookables/goldeneye.cc index 8cabb26441..96485c450b 100644 --- a/src/xenia/hid/winkey/hookables/goldeneye.cc +++ b/src/xenia/hid/winkey/hookables/goldeneye.cc @@ -164,19 +164,19 @@ bool GoldeneyeGame::DoHooks(uint32_t user_index, RawInputState& input_state) { // Smoothly bring gun back to center if (player_exiting_aim_mode_) { if (*player_gun_x > 0) { - float gX = *player_gun_x - std::min(0.05f, (float)*player_gun_x); + float gX = *player_gun_x - std::min(0.2f, (float)*player_gun_x); *player_gun_x = gX; } if (*player_gun_x < 0) { - float gX = *player_gun_x + std::min(0.05f, -((float)*player_gun_x)); + float gX = *player_gun_x + std::min(0.2f, -((float)*player_gun_x)); *player_gun_x = gX; } if (*player_gun_y > 0) { - float gX = *player_gun_y - std::min(0.05f, (float)*player_gun_y); + float gX = *player_gun_y - std::min(0.2f, (float)*player_gun_y); *player_gun_y = gX; } if (*player_gun_y < 0) { - float gX = *player_gun_y + std::min(0.05f, -((float)*player_gun_y)); + float gX = *player_gun_y + std::min(0.2f, -((float)*player_gun_y)); *player_gun_y = gX; } if (*player_gun_y == 0 && *player_gun_x == 0) { diff --git a/src/xenia/hid/winkey/hookables/halo3.cc b/src/xenia/hid/winkey/hookables/halo3.cc index e8e3a6a5dc..63587a562c 100644 --- a/src/xenia/hid/winkey/hookables/halo3.cc +++ b/src/xenia/hid/winkey/hookables/halo3.cc @@ -95,8 +95,6 @@ bool Halo3Game::IsGameSupported() { return false; } - bool supported = false; - for (auto& build : supported_builds) { auto* build_ptr = kernel_memory()->TranslateVirtual( build.second.build_string_addr); @@ -118,8 +116,8 @@ bool Halo3Game::DoHooks(uint32_t user_index, RawInputState& input_state) { } if (supported_builds.count(game_build_)) { - // Doesn't seem to be any way to get tls_static_address_ besides this - // (XThread::GetTLSValue only returns tls_dynamic_address_, and doesn't + // HACKHACK: Doesn't seem to be any way to get tls_static_address_ besides + // this (XThread::GetTLSValue only returns tls_dynamic_address_, and doesn't // seem to be any functions to get static_addr...) uint32_t pcr_addr =