mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
Fix a crash when using DSi mode in debug builds on macOS (#1976)
Store the BIOS images in `NDSArgs`/`DSiArgs` through pointers, not directly - This will make it easier to keep such objects on the stack
This commit is contained in:
@ -82,8 +82,8 @@ DSi::DSi(DSiArgs&& args) noexcept :
|
||||
DSi_NDMA(1, 2, *this),
|
||||
DSi_NDMA(1, 3, *this),
|
||||
},
|
||||
ARM7iBIOS(args.ARM7iBIOS),
|
||||
ARM9iBIOS(args.ARM9iBIOS),
|
||||
ARM7iBIOS(*args.ARM7iBIOS),
|
||||
ARM9iBIOS(*args.ARM9iBIOS),
|
||||
DSP(*this),
|
||||
SDMMC(*this, std::move(args.NANDImage), std::move(args.DSiSDCard)),
|
||||
SDIO(*this),
|
||||
|
Reference in New Issue
Block a user