savegame-manager
savegame-manager copied to clipboard
Compilation error looking for REG_DSIMODE
In dsi.cpp
the symbol REG_DSIMODE
cannot be found. I got around this for my needs by just removing that reference since I'm not using DSI in this case.
arm9/source/dsi.cpp:34:10 error: 'REG_DSIMODE' was not declared in this scope; did you mean 'REG_IME'?
34 | return (REG_DSIMODE) != 0) ? true : false;
| ^~~~~~~~~
| REG_IME
Seems like the fix is to use isDSiMode()
from libnds/system.h
.
https://github.com/devkitPro/libnds/blob/master/include/nds/system.h#L127