mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-11 20:57:47 +02:00
Improve indication of emulation being paused by the User (#5836)
* Improve indication of emulation being paused by the User * Use localised for Paused * Backup original title - PR comments fix * Add common helper method to assemble App title
This commit is contained in:
@@ -1453,6 +1453,8 @@ namespace Ryujinx.Ui
|
||||
_pauseEmulation.Sensitive = false;
|
||||
_resumeEmulation.Sensitive = true;
|
||||
_emulationContext.System.TogglePauseEmulation(true);
|
||||
Title = TitleHelper.ActiveApplicationTitle(_emulationContext.Processes.ActiveApplication, Program.Version, "Paused");
|
||||
Logger.Info?.Print(LogClass.Emulation, "Emulation was paused");
|
||||
}
|
||||
|
||||
private void ResumeEmulation_Pressed(object sender, EventArgs args)
|
||||
@@ -1460,6 +1462,8 @@ namespace Ryujinx.Ui
|
||||
_pauseEmulation.Sensitive = true;
|
||||
_resumeEmulation.Sensitive = false;
|
||||
_emulationContext.System.TogglePauseEmulation(false);
|
||||
Title = TitleHelper.ActiveApplicationTitle(_emulationContext.Processes.ActiveApplication, Program.Version);
|
||||
Logger.Info?.Print(LogClass.Emulation, "Emulation was resumed");
|
||||
}
|
||||
|
||||
public void ActivatePauseMenu()
|
||||
|
Reference in New Issue
Block a user