mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-11 12:47:51 +02:00
Fix exiting emulator with multi programs (#1590)
THis fix a bug introduced in #1560 that would cause "Stop emulation" to actually restart the game all the time.
This commit is contained in:
@@ -975,9 +975,10 @@ namespace Ryujinx.Ui
|
||||
|
||||
private void HandleRelaunch()
|
||||
{
|
||||
// If the previous index isn't -1, that mean we are relaunching.
|
||||
if (_userChannelPersistence.PreviousIndex != -1)
|
||||
if (_userChannelPersistence.PreviousIndex != -1 && _userChannelPersistence.ShouldRestart)
|
||||
{
|
||||
_userChannelPersistence.ShouldRestart = false;
|
||||
|
||||
LoadApplication(_gamePath);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user