Skip to content

Commit

Permalink
[GB] Map WRAM into memory.
Browse files Browse the repository at this point in the history
  • Loading branch information
OtherCrashOverride committed Jul 15, 2018
1 parent bb2e374 commit 1953f92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gnuboy-go/components/gnuboy/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void IRAM_ATTR mem_updatemap()
map[0xA] = map[0xB] = NULL;
//}

#if 0
#if 1
map[0xC] = ram.ibank[0] - 0xC000;
n = R_SVBK & 0x07;
map[0xD] = ram.ibank[n?n:1] - 0xD000;
Expand Down Expand Up @@ -322,13 +322,13 @@ void IRAM_ATTR ioreg_write(byte r, byte b)
REG(r) = b;
break;
case RI_HDMA2:
REG(r) = b & 0xF0;
REG(r) = b; //& 0xF0;
break;
case RI_HDMA3:
REG(r) = b & 0x1F;
REG(r) = b; //& 0x1F;
break;
case RI_HDMA4:
REG(r) = b & 0xF0;
REG(r) = b; //& 0xF0;
break;
case RI_HDMA5:
hw_hdma_cmd(b);
Expand Down

0 comments on commit 1953f92

Please sign in to comment.