neshawk - add PPU reset to soft reset, to fix #327

This commit is contained in:
zeromus 2014-11-30 05:02:12 +00:00
parent ff54192fdc
commit 92243cd393
2 changed files with 8 additions and 1 deletions

View File

@ -256,7 +256,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
board.NESSoftReset();
cpu.NESSoftReset();
apu.NESSoftReset();
//need to study what happens to ppu and apu and stuff..
ppu.NESSoftReset();
}
else if (hardResetSignal)
{

View File

@ -128,6 +128,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
Reset();
}
public void NESSoftReset()
{
//this hasn't been brought up to date since NEShawk was first made.
//in particular http://wiki.nesdev.com/w/index.php/PPU_power_up_state should be studied, but theres no use til theres test cases
Reset();
}
//state
int ppudead; //measured in frames
bool idleSynch;