mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
ARM7 core fix from Aaron. (no whatsnew)
This commit is contained in:
parent
8f0fae278c
commit
5cfa64098e
@ -575,6 +575,7 @@ static void arm7_core_reset(legacy_cpu_device *device)
|
|||||||
cpustate->device = device;
|
cpustate->device = device;
|
||||||
cpustate->program = device->space(AS_PROGRAM);
|
cpustate->program = device->space(AS_PROGRAM);
|
||||||
cpustate->endian = ENDIANNESS_LITTLE;
|
cpustate->endian = ENDIANNESS_LITTLE;
|
||||||
|
cpustate->direct = &cpustate->program->direct();
|
||||||
|
|
||||||
/* start up in SVC mode with interrupts disabled. */
|
/* start up in SVC mode with interrupts disabled. */
|
||||||
SwitchMode(cpustate, eARM7_MODE_SVC);
|
SwitchMode(cpustate, eARM7_MODE_SVC);
|
||||||
|
Loading…
Reference in New Issue
Block a user