neshawk - add PPU reset to soft reset, to fix #327
This commit is contained in:
parent
ff54192fdc
commit
92243cd393
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue