Skip to content

Commit a2009c5

Browse files
committed
trimmed nor's rest is set as 0xff instead of 0
1 parent 0ac4d32 commit a2009c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void LoadRom(const string romPath){
3131
}
3232

3333
void init_rom(){
34-
memset(&rom_buff,0,sizeof(rom_buff));
34+
memset(&rom_buff,0xff,sizeof(rom_buff));
3535
LoadRom(nc1020_rom.romPath);
3636
if(nc1020mode){
3737
for (uint32_t i=0; i<num_rom_pages/3; i++) {

0 commit comments

Comments
 (0)