diff options
author | Jesse Talavera <jesse@jesse.tg> | 2024-03-13 09:55:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 14:55:20 +0100 |
commit | 31a7f53282040c7df93204d647de470390b96c4b (patch) | |
tree | 0c8fcb6ab0b7c70e90e462169e209a805c25027a /src/DSi.cpp | |
parent | ea1755bed0378a2f3783e78c5e63c266583218ce (diff) |
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
Diffstat (limited to 'src/DSi.cpp')
-rw-r--r-- | src/DSi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DSi.cpp b/src/DSi.cpp index c929c6d..306c5d1 100644 --- a/src/DSi.cpp +++ b/src/DSi.cpp @@ -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), |