mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +03:00
Fixed UNSP CPU core reset [Robbbert]
This commit is contained in:
parent
4b395a3016
commit
7418f28a63
@ -115,8 +115,6 @@ static CPU_INIT( unsp )
|
|||||||
|
|
||||||
unsp->device = device;
|
unsp->device = device;
|
||||||
unsp->program = device->space(AS_PROGRAM);
|
unsp->program = device->space(AS_PROGRAM);
|
||||||
unsp->irq = 0;
|
|
||||||
unsp->fiq = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static CPU_RESET( unsp )
|
static CPU_RESET( unsp )
|
||||||
@ -125,6 +123,8 @@ static CPU_RESET( unsp )
|
|||||||
memset(unsp->r, 0, sizeof(UINT16) * UNSP_GPR_COUNT);
|
memset(unsp->r, 0, sizeof(UINT16) * UNSP_GPR_COUNT);
|
||||||
|
|
||||||
UNSP_REG(PC) = READ16(unsp, 0xfff7);
|
UNSP_REG(PC) = READ16(unsp, 0xfff7);
|
||||||
|
unsp->irq = 0;
|
||||||
|
unsp->fiq = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user