From 7418f28a638b43aadccc5149340817eca5a69486 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 31 May 2011 09:50:25 +0000 Subject: [PATCH] Fixed UNSP CPU core reset [Robbbert] --- src/emu/cpu/unsp/unsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/cpu/unsp/unsp.c b/src/emu/cpu/unsp/unsp.c index d12628f7f7a..4dc04d45bd5 100644 --- a/src/emu/cpu/unsp/unsp.c +++ b/src/emu/cpu/unsp/unsp.c @@ -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; } /*****************************************************************************/