| Previous | 15994 Revisions | Next |
| r11432 Thursday 5th May, 2011 at 06:56:08 UTC by Curt Coder |
|---|
| Fixed devcb regression. (nw) |
| [src/emu/cpu/m6502] | m4510.c m6502.c |
| r11431 | r11432 | |
|---|---|---|
| 219 | 219 | cpustate->in_port_func.resolve(intf->in_port_func, *device); |
| 220 | 220 | cpustate->out_port_func.resolve(intf->out_port_func, *device); |
| 221 | 221 | } |
| 222 | else | |
| 223 | { | |
| 224 | devcb_write8 nullcb = DEVCB_NULL; | |
| 225 | cpustate->out_port_func.resolve(nullcb, *device); | |
| 226 | } | |
| 222 | 227 | } |
| 223 | 228 | |
| 224 | 229 | static CPU_RESET( m4510 ) |
| r11431 | r11432 | |
|---|---|---|
| 155 | 155 | cpustate->in_port_func.resolve(intf->in_port_func, *device); |
| 156 | 156 | cpustate->out_port_func.resolve(intf->out_port_func, *device); |
| 157 | 157 | } |
| 158 | else | |
| 159 | { | |
| 160 | devcb_write8 nullcb = DEVCB_NULL; | |
| 161 | cpustate->out_port_func.resolve(nullcb, *device); | |
| 162 | } | |
| 158 | 163 | |
| 159 | 164 | device->save_item(NAME(cpustate->pc.w.l)); |
| 160 | 165 | device->save_item(NAME(cpustate->sp.w.l)); |
| Previous | 15994 Revisions | Next |