diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-02-27 21:30:32 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-02-27 21:30:32 +0100 |
commit | fb9dddc360506352769efbc009b60e9471a609bf (patch) | |
tree | 6a51b5d9d565d100e9070ef0cccf16fabe67bb3f | |
parent | 8c2572e3549453402cff86877a89f9b715d8b447 (diff) |
dumb copypasta bug of the year.
-rw-r--r-- | GPU.h | 2 | ||||
-rw-r--r-- | melonDS.depend | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -328,7 +328,7 @@ T ReadVRAM_ARM7(u32 addr) template<typename T> void WriteVRAM_ARM7(u32 addr, T val) { - u32 mask = VRAMMap_BOBJ[(addr >> 17) & 0x1]; + u32 mask = VRAMMap_ARM7[(addr >> 17) & 0x1]; if (mask & (1<<2)) *(T*)&VRAM_C[addr & 0x1FFFF] = val; if (mask & (1<<3)) *(T*)&VRAM_D[addr & 0x1FFFF] = val; diff --git a/melonDS.depend b/melonDS.depend index 09ab3c9..17a4aea 100644 --- a/melonDS.depend +++ b/melonDS.depend @@ -10,7 +10,7 @@ 1481161027 c:\documents\sources\melonds\types.h -1488225095 source:c:\documents\sources\melonds\nds.cpp +1488227258 source:c:\documents\sources\melonds\nds.cpp <stdio.h> <string.h> "NDS.h" @@ -125,7 +125,7 @@ "NDS.h" "GPU.h" -1488225864 c:\documents\sources\melonds\gpu.h +1488227363 c:\documents\sources\melonds\gpu.h "GPU2D.h" "GPU3D.h" |