diff options
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/cpu/adsp2100/adsp2100.c | 2 | ||||
| -rw-r--r-- | src/emu/cpu/mips/mips3drc.c | 2 | ||||
| -rw-r--r-- | src/emu/cpu/powerpc/ppccom.c | 2 | ||||
| -rw-r--r-- | src/emu/debug/debugcpu.c | 16 | ||||
| -rw-r--r-- | src/emu/memory.c | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/src/emu/cpu/adsp2100/adsp2100.c b/src/emu/cpu/adsp2100/adsp2100.c index 02208cab7cb..2ed147634c5 100644 --- a/src/emu/cpu/adsp2100/adsp2100.c +++ b/src/emu/cpu/adsp2100/adsp2100.c @@ -977,7 +977,7 @@ static int adsp2100_execute(int cycles) adsp2100.pc++; } } - + /* parse the instruction */ switch (op >> 16) { diff --git a/src/emu/cpu/mips/mips3drc.c b/src/emu/cpu/mips/mips3drc.c index d593bf9e571..5282f28392e 100644 --- a/src/emu/cpu/mips/mips3drc.c +++ b/src/emu/cpu/mips/mips3drc.c @@ -1634,7 +1634,7 @@ static void generate_delay_slot_and_branch(drcuml_block *block, compiler_state * { compiler_state compiler_temp = *compiler; UINT32 op = *desc->opptr.l; - + /* fetch the target register if dynamic, in case it is modified by the delay slot */ if (desc->targetpc == BRANCH_TARGET_DYNAMIC) UML_MOV(block, MEM(&mips3->impstate->jmpdest), R32(RSREG)); // mov [jmpdest],<rsreg> diff --git a/src/emu/cpu/powerpc/ppccom.c b/src/emu/cpu/powerpc/ppccom.c index 2ee827bd177..8e25ccc654b 100644 --- a/src/emu/cpu/powerpc/ppccom.c +++ b/src/emu/cpu/powerpc/ppccom.c @@ -292,7 +292,7 @@ void ppccom_reset(powerpc_state *ppc) ppc->spr[SPR4XX_TCR] &= ~PPC4XX_TCR_WRC_MASK; ppc->spu.regs[SPU4XX_LINE_STATUS] = 0x06; } - + /* initialize the 602 HID0 register */ if (ppc->flavor == PPC_MODEL_602) ppc->spr[SPR603_HID0] = 1; diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 56d947a054e..8db26c20bcb 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -354,7 +354,7 @@ static void compute_debug_flags(running_machine *machine, const debug_cpu_info * /* add in the watchpoint flags */ machine->debug_flags |= (info->flags & DEBUG_FLAG_WATCHPOINT) >> (24 - 4); - + /* if any of the watchpoint flags are set and we're live, tell the memory system */ if (global.livecpu != NULL && ((info->flags & DEBUG_FLAG_WATCHPOINT) != 0)) memory_set_context(-1); @@ -602,8 +602,8 @@ void debug_cpu_instruction_hook(running_machine *machine, offs_t curpc) /*------------------------------------------------- - debug_cpu_memory_read_hook - the memory system - calls this hook when watchpoints are enabled + debug_cpu_memory_read_hook - the memory system + calls this hook when watchpoints are enabled and a memory read happens -------------------------------------------------*/ @@ -622,8 +622,8 @@ void debug_cpu_memory_read_hook(running_machine *machine, int cpunum, int spacen /*------------------------------------------------- - debug_cpu_memory_write_hook - the memory - system calls this hook when watchpoints are + debug_cpu_memory_write_hook - the memory + system calls this hook when watchpoints are enabled and a memory write happens -------------------------------------------------*/ @@ -1124,7 +1124,7 @@ static void breakpoint_update_flags(debug_cpu_info *info) info->flags |= DEBUG_FLAG_LIVE_BP; break; } - + /* push the flags out globally */ if (global.livecpu != NULL) compute_debug_flags(Machine, global.livecpu); @@ -1279,7 +1279,7 @@ static void watchpoint_update_flags(debug_cpu_info *info, int spacenum) UINT32 writeflag = DEBUG_FLAG_LIVE_WPW_PROGRAM << spacenum; UINT32 readflag = DEBUG_FLAG_LIVE_WPR_PROGRAM << spacenum; debug_cpu_watchpoint *wp; - + /* if hotspots are enabled, turn on all reads */ if (info->hotspots != NULL) { @@ -1305,7 +1305,7 @@ static void watchpoint_update_flags(debug_cpu_info *info, int spacenum) if ((readflag | writeflag) == 0) break; } - + /* push the flags out globally */ if (global.livecpu != NULL) compute_debug_flags(Machine, global.livecpu); diff --git a/src/emu/memory.c b/src/emu/memory.c index f58dd029284..e7a60c9757a 100644 --- a/src/emu/memory.c +++ b/src/emu/memory.c @@ -787,7 +787,7 @@ static void memory_exit(running_machine *machine) void memory_set_context(int activecpu) { addrspace_data *space; - + /* remember dynamic RAM/ROM */ if (activecpu == -1) activecpu = cur_context; |
