Skip to content

Commit

Permalink
[NSF] Fixed RAM initialization (#380).
Browse files Browse the repository at this point in the history
  • Loading branch information
punesemu committed Mar 6, 2024
1 parent b854e22 commit 55f6086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ void emu_initial_ram(BYTE *ram, unsigned int length) {
return;
}
for (i = 0; i < length; i++) {
ram[i] = cfg->initial_ram_value == IRV_0X00
ram[i] = (info.mapper.id == NSF_MAPPER) || (cfg->initial_ram_value == IRV_0X00)
? 0x00
: cfg->initial_ram_value == IRV_0XFF
? 0xFF
Expand Down

0 comments on commit 55f6086

Please sign in to comment.