Previous 15994 Revisions Next

r11722 Monday 30th May, 2011 at 11:43:09 UTC by Robbbert
VII - small fix to allow a cart to be loaded from menu without it going black, also allow soft reset to work.
[src/emu/cpu/unsp]unsp.c

src/emu/cpu/unsp/unsp.c
r11721r11722
115115
116116    unsp->device = device;
117117    unsp->program = device->space(AS_PROGRAM);
118    unsp->irq = 0;
119    unsp->fiq = 0;
120118}
121119
122120static CPU_RESET( unsp )
r11721r11722
125123    memset(unsp->r, 0, sizeof(UINT16) * UNSP_GPR_COUNT);
126124
127125    UNSP_REG(PC) = READ16(unsp, 0xfff7);
126    unsp->irq = 0;
127    unsp->fiq = 0;
128128}
129129
130130/*****************************************************************************/

Previous 15994 Revisions Next


© 1998-2018 The MESS Team