Fixed UNSP CPU core reset [Robbbert]

This commit is contained in:
Miodrag Milanovic 2011-05-31 09:50:25 +00:00
parent 4b395a3016
commit 7418f28a63

View File

@ -115,8 +115,6 @@ static CPU_INIT( unsp )
unsp->device = device;
unsp->program = device->space(AS_PROGRAM);
unsp->irq = 0;
unsp->fiq = 0;
}
static CPU_RESET( unsp )
@ -125,6 +123,8 @@ static CPU_RESET( unsp )
memset(unsp->r, 0, sizeof(UINT16) * UNSP_GPR_COUNT);
UNSP_REG(PC) = READ16(unsp, 0xfff7);
unsp->irq = 0;
unsp->fiq = 0;
}
/*****************************************************************************/