diff options
| author | Mary <me@thog.eu> | 2020-10-10 00:52:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-10 00:52:11 +0200 |
| commit | 8506b7a3342692a2c92322df727b675738a09829 (patch) | |
| tree | 746ce292386bf23f39f22f4255c95e0416c1c31a /Ryujinx.HLE/HOS | |
| parent | 0954e76a261235107b2255c33de595d188570274 (diff) | |
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.
Diffstat (limited to 'Ryujinx.HLE/HOS')
| -rw-r--r-- | Ryujinx.HLE/HOS/UserChannelPersistence.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/UserChannelPersistence.cs b/Ryujinx.HLE/HOS/UserChannelPersistence.cs index 13e7364f..4b041ce8 100644 --- a/Ryujinx.HLE/HOS/UserChannelPersistence.cs +++ b/Ryujinx.HLE/HOS/UserChannelPersistence.cs @@ -10,6 +10,7 @@ namespace Ryujinx.HLE.HOS public int PreviousIndex { get; private set; } public int Index { get; private set; } public ProgramSpecifyKind Kind { get; private set; } + public bool ShouldRestart { get; set; } public UserChannelPersistence() { @@ -42,6 +43,7 @@ namespace Ryujinx.HLE.HOS { Kind = kind; PreviousIndex = Index; + ShouldRestart = true; switch (kind) { |
