mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 13:20:57 -06:00
Reset DS object directly after creation
This commit is contained in:
@ -335,6 +335,7 @@ bool EmuThread::UpdateConsole(UpdateConsoleNDSArgs&& ndsargs, UpdateConsoleGBAAr
|
|||||||
NDS::Current = nullptr;
|
NDS::Current = nullptr;
|
||||||
|
|
||||||
NDS = CreateConsole(std::move(nextndscart), std::move(nextgbacart));
|
NDS = CreateConsole(std::move(nextndscart), std::move(nextgbacart));
|
||||||
|
NDS->Reset();
|
||||||
NDS::Current = NDS.get();
|
NDS::Current = NDS.get();
|
||||||
|
|
||||||
return NDS != nullptr;
|
return NDS != nullptr;
|
||||||
|
Reference in New Issue
Block a user