mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
core z80, fix cycle counting in reset state
This commit is contained in:
parent
c7661b80ef
commit
db2b6d9966
5 changed files with 6 additions and 7 deletions
|
@ -72,8 +72,6 @@ void PicoPower(void)
|
|||
memset(&Pico.m,0,sizeof(Pico.m));
|
||||
memset(&Pico.t,0,sizeof(Pico.t));
|
||||
|
||||
z80_reset();
|
||||
|
||||
// my MD1 VA6 console has this in IO
|
||||
PicoMem.ioports[1] = PicoMem.ioports[2] = PicoMem.ioports[3] = 0xff;
|
||||
|
||||
|
@ -169,6 +167,7 @@ int PicoReset(void)
|
|||
|
||||
memset(&PicoIn.padInt, 0, sizeof(PicoIn.padInt));
|
||||
|
||||
z80_reset();
|
||||
if (PicoIn.AHW & PAHW_SMS) {
|
||||
PicoResetMS();
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue