summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/sh2/sh2dasm.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-07-31 08:26:39 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-07-31 08:26:39 +0000
commite0409bc7b193758db47acad49695d37545a6e258 (patch)
treecd70e4fef74d423e04b5e26e7990d0fdb0db2850 /src/emu/cpu/sh2/sh2dasm.c
parenta69088c498af8933f51624ac3426edb61982a083 (diff)
From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: a few cleanups This patch contains: - removal of unprintable chars (newlines) in SH-2 disassembler (I submitted this in the past nd it wasn't included) - a few unnecessary checks after malloc_ort_die() calls - changes two romload.c warnings to use GAMENOUN instead - adds "deprecat.h" in a few src/mame/drivers files (would be necessary, if the debugger.h one would be removed) - cleans up the mame.mak by adding all missing defines and grouping them based on cpu.mak - renamed video_exit() to winvideo_exit() for consistency in function names
Diffstat (limited to 'src/emu/cpu/sh2/sh2dasm.c')
-rw-r--r--src/emu/cpu/sh2/sh2dasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/sh2/sh2dasm.c b/src/emu/cpu/sh2/sh2dasm.c
index 91854338b03..868d0670116 100644
--- a/src/emu/cpu/sh2/sh2dasm.c
+++ b/src/emu/cpu/sh2/sh2dasm.c
@@ -95,7 +95,7 @@ static UINT32 op0000(char *buffer, UINT32 pc, UINT16 opcode)
sprintf(buffer, "MOV.L %s,@(R0,%s)", regname[Rm], regname[Rn]);
break;
case 7:
- sprintf(buffer, "MUL.L %s,%s\n", regname[Rm], regname[Rn]);
+ sprintf(buffer, "MUL.L %s,%s", regname[Rm], regname[Rn]);
break;
case 8:
sprintf(buffer, "?????? $%04X", opcode);
@@ -375,7 +375,7 @@ static UINT32 op0100(char *buffer, UINT32 pc, UINT16 opcode)
static UINT32 op0101(char *buffer, UINT32 pc, UINT16 opcode)
{
- sprintf(buffer, "MOV.L @($%02X,%s),%s\n", (opcode & 15) * 4, regname[Rm], regname[Rn]);
+ sprintf(buffer, "MOV.L @($%02X,%s),%s", (opcode & 15) * 4, regname[Rm], regname[Rn]);
return 0;
}
@@ -474,7 +474,7 @@ static UINT32 op1000(char *buffer, UINT32 pc, UINT16 opcode)
sprintf(buffer, "BFS $%08X", pc + SIGNX8(opcode & 0xff) * 2 + 2);
break;
default :
- sprintf(buffer, "invalid $%04X\n", opcode);
+ sprintf(buffer, "invalid $%04X", opcode);
}
return 0;
}