| 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 |
| r11721 | r11722 | |
|---|---|---|
| 115 | 115 | |
| 116 | 116 | unsp->device = device; |
| 117 | 117 | unsp->program = device->space(AS_PROGRAM); |
| 118 | unsp->irq = 0; | |
| 119 | unsp->fiq = 0; | |
| 120 | 118 | } |
| 121 | 119 | |
| 122 | 120 | static CPU_RESET( unsp ) |
| r11721 | r11722 | |
| 125 | 123 | memset(unsp->r, 0, sizeof(UINT16) * UNSP_GPR_COUNT); |
| 126 | 124 | |
| 127 | 125 | UNSP_REG(PC) = READ16(unsp, 0xfff7); |
| 126 | unsp->irq = 0; | |
| 127 | unsp->fiq = 0; | |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /*****************************************************************************/ |
| Previous | 15994 Revisions | Next |