actually remove NDS/GBA ROM args from NDSArgs, since we won't be using them

This commit is contained in:
Arisotura
2024-11-17 19:38:36 +01:00
parent 5e3d2d07c3
commit 99aa5676db
4 changed files with 2 additions and 24 deletions

View File

@ -79,8 +79,6 @@ NDS* NDS::Current = nullptr;
NDS::NDS() noexcept :
NDS(
NDSArgs {
nullptr,
nullptr,
std::make_unique<ARM9BIOSImage>(bios_arm9_bin),
std::make_unique<ARM7BIOSImage>(bios_arm7_bin),
Firmware(0),
@ -102,8 +100,8 @@ NDS::NDS(NDSArgs&& args, int type, void* userdata) noexcept :
SPI(*this, std::move(args.Firmware)),
RTC(*this),
Wifi(*this),
NDSCartSlot(*this, std::move(args.NDSROM)),
GBACartSlot(*this, type == 1 ? nullptr : std::move(args.GBAROM)),
NDSCartSlot(*this, nullptr),
GBACartSlot(*this, nullptr),
AREngine(*this),
ARM9(*this, args.GDB, args.JIT.has_value()),
ARM7(*this, args.GDB, args.JIT.has_value()),