Fix loading GBA carts

UpdateConsole forgot to reinsert it when messing with the NDS.
This commit is contained in:
Nadia Holmquist Pedersen 2024-07-02 08:18:44 +02:00
parent f2611680ca
commit 4e3592f2d4

View File

@ -1191,6 +1191,7 @@ bool EmuInstance::updateConsole(UpdateConsoleNDSArgs&& _ndsargs, UpdateConsoleGB
nds->SetARM9BIOS(*args->ARM9BIOS); nds->SetARM9BIOS(*args->ARM9BIOS);
nds->SetFirmware(std::move(args->Firmware)); nds->SetFirmware(std::move(args->Firmware));
nds->SetNDSCart(std::move(args->NDSROM)); nds->SetNDSCart(std::move(args->NDSROM));
nds->SetGBACart(std::move(args->GBAROM));
nds->SetJITArgs(args->JIT); nds->SetJITArgs(args->JIT);
// TODO GDB stub shit // TODO GDB stub shit
nds->SPU.SetInterpolation(args->Interpolation); nds->SPU.SetInterpolation(args->Interpolation);