explicitly eject the cart before a load with reset, preventing a spurious cart-eject IRQ on startup

also fix possible KEY1 issues when using internal BIOS
This commit is contained in:
Arisotura
2022-01-08 11:20:21 +01:00
parent e665e25bd3
commit 80564ba947
2 changed files with 15 additions and 6 deletions

View File

@ -535,6 +535,7 @@ bool LoadROM(QStringList filepath, bool reset)
if (reset)
{
NDS::SetConsoleType(Config::ConsoleType);
NDS::EjectCart();
NDS::Reset();
}