dolphin/Source/Core
Pokechu22 a81b44f697 Fix menu bar becoming desynced when Pause at End of Movie is disabled
Previously, when Pause at End of Movie was disabled, the game would continue running as it should, but the menu bar would think the game was paused, showing the play button instead of the pause button.  To make things worse, clicking the play button would then restart the game, instead of pausing or doing nothing.  F10 paused/unpaused as normal, though.

The old behavior was essentially to enable stepping/pause mode (via `CPU::Break()`) and then if Pause at End of Movie was disabled, to un-pause on the host thread (via `CPU::EnableStepping(false)`).  For reasons which aren't entirely clear to me, the first one notified the menu bar (through the `Host::UpdateDisasmDialog` callback, not the `Settings::EmulationStateChanged` one), and the second did not.  In any case, this approach does not particularly make sense; I don't see any reason to pause and unpause if Pause at End of Movie is disabled; instead, we should only pause when Pause at End of Movie is enabled.

This behavior was probably introduced in c1944f623b, though I haven't tested it.
2022-02-16 11:07:12 -08:00
..
AudioCommon IOFile: Make origin parameter to Seek() an enum class. 2022-01-29 06:49:21 +01:00
Common MemArena: Load UnmapViewOfFileEx dynamically to restore Windows 7 support. 2022-02-14 21:57:18 +01:00
Core Fix menu bar becoming desynced when Pause at End of Movie is disabled 2022-02-16 11:07:12 -08:00
DiscIO IOFile: Rename Clear() to ClearError() for clarity. 2022-01-29 06:49:22 +01:00
DolphinNoGUI Common/MsgHandler: Remove non-format variants of PanicAlert 2022-01-09 12:44:14 -08:00
DolphinQt FifoPlayer: Add missing call to LoadSettings() 2022-01-17 11:00:13 -08:00
DolphinTool CMakeLists: Change DiscIO dependency from common to core 2022-01-16 13:29:51 -08:00
InputCommon Use Common::ToLower and Common::ToUpper 2022-01-16 17:00:12 -08:00
MacUpdater CMakeLists: Replace tab characters with spaces 2022-01-16 15:20:40 -08:00
UICommon Don't create GBA saves dir when building without mGBA 2022-01-22 16:05:21 +01:00
UpdaterCommon UpdaterCommon: Copy content file to a temporary file before renaming on macOS 2022-01-30 15:40:28 -05:00
VideoBackends Treat alpha as 0 if alpha is 1 for blending 2022-02-08 15:15:15 -08:00
VideoCommon CommandProcessor: Log ignored unknown opcodes at warn level 2022-02-13 14:16:05 -08:00
WinUpdater treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CMakeLists.txt DolphinTool: CLI utility interface and disc image tools 2021-12-03 15:40:19 -06:00
DolphinLib.ARM64.props
DolphinLib.props Common: Create HRWrap 2022-01-09 12:44:15 -08:00
DolphinLib.vcxproj msbuild: Move DivUtils to DolphinLib.props 2021-08-31 22:48:07 -07:00
DolphinLib.vcxproj.user
DolphinLib.x64.props