diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-03-23 17:14:48 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-03-23 17:14:48 +0100 |
commit | 8c059c99535690033397dcbb0ae1de1019d0740c (patch) | |
tree | a9f80c8c52396db3444c5fc8225ac3c79aa90de2 /src/NDS.cpp | |
parent | 91f46b00fb0c5e6765a59f03259e9f49ec1c4f34 (diff) |
* more thread-safe UI
* config system base
* FPS counter and limiter
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r-- | src/NDS.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp index 39136ec..0a5afb4 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -1780,6 +1780,11 @@ void ARM9IOWrite32(u32 addr, u32 val) case 0x040002B8: SqrtVal[0] = val; StartSqrt(); return; case 0x040002BC: SqrtVal[1] = val; StartSqrt(); return; + + case 0x04000304: + PowerControl9 = val & 0xFFFF; + GPU::DisplaySwap(PowerControl9>>15); + return; } if (addr >= 0x04000000 && addr < 0x04000060) |