short-circuit EmulatorPaused setter when value isn't changing

This commit is contained in:
Morilli 2025-01-02 04:36:53 +01:00
parent c50a4f4e6a
commit 7c38810e9e
1 changed files with 1 additions and 0 deletions

View File

@ -951,6 +951,7 @@ namespace BizHawk.Client.EmuHawk
private set
{
_didMenuPause = false; // overwritten where relevant
if (_emulatorPaused == value) return;
if (_emulatorPaused && !value) // Unpausing
{
InitializeFpsData();