Merge branch 'master' of github.com:melonDS-emu/melonDS

This commit is contained in:
Arisotura
2023-12-26 19:04:31 +01:00
12 changed files with 166 additions and 18 deletions

View File

@ -326,10 +326,14 @@ bool EmuThread::UpdateConsole(UpdateConsoleNDSArgs&& ndsargs, UpdateConsoleGBAAr
NDS::Current = nullptr;
NDS = CreateConsole(std::move(nextndscart), std::move(nextgbacart));
if (NDS == nullptr)
return false;
NDS->Reset();
NDS::Current = NDS.get();
return NDS != nullptr;
return true;
}
auto arm9bios = ROMManager::LoadARM9BIOS();