New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly initialise NES/Famicom RAM; fix F-1 Race (1984) #196

merged 1 commit into from Aug 23, 2016
Jump to file or symbol
Failed to load files and symbols.
+1 −13
Diff settings


Just for now

Properly initialise NES/Famicom RAM; fix F-1 Race (1984)

  • Loading branch information...
koitsu committed Aug 23, 2016
commit 23bbf10a68058785702458dcb4181448959f00d6
@@ -767,19 +767,7 @@ namespace Nes
void Cpu::Ram::Reset(const CpuModel model)
if (model == CPU_DENDY)
std::memset( mem, 0x00, sizeof(mem) );
std::memset( mem, 0xFF, sizeof(mem) );
mem[0x08] = 0xF7;
mem[0x09] = 0xEF;
mem[0x0A] = 0xDF;
mem[0x0F] = 0xBF;
std::memset( mem, 0x00, sizeof(mem) );
ProTip! Use n and p to navigate between commits in a pull request.