summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/sh2/sh2dasm.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-08-19 06:10:43 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-08-19 06:10:43 +0000
commit13a3d3fb89be8b9f3dd628a814f4fa6e1472feaa (patch)
tree68b946b4035caaeb6621d2456f9dfda015b11a5e /src/emu/cpu/sh2/sh2dasm.c
parentde5cd6e5a8d170cd65be8c19e9820cafdd4e604c (diff)
From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Various cleanups A couple of minor cleanups sitting on my disk for a while: - removed obsolete ENABLE_DEBUGGER occurance - removed more unprintable characters in SH-2 disassembler - memset() usage cleanups - removed duplicated TMS5110 entry in sound.mak - use machine in uigfx.c where it's already available
Diffstat (limited to 'src/emu/cpu/sh2/sh2dasm.c')
-rw-r--r--src/emu/cpu/sh2/sh2dasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/sh2/sh2dasm.c b/src/emu/cpu/sh2/sh2dasm.c
index 868d0670116..cf45d1791a5 100644
--- a/src/emu/cpu/sh2/sh2dasm.c
+++ b/src/emu/cpu/sh2/sh2dasm.c
@@ -128,7 +128,7 @@ static UINT32 op0000(char *buffer, UINT32 pc, UINT16 opcode)
static UINT32 op0001(char *buffer, UINT32 pc, UINT16 opcode)
{
- sprintf(buffer, "MOV.L %s,@($%02X,%s)\n", regname[Rm], (opcode & 15) * 4, regname[Rn]);
+ sprintf(buffer, "MOV.L %s,@($%02X,%s)", regname[Rm], (opcode & 15) * 4, regname[Rn]);
return 0;
}
@@ -438,7 +438,7 @@ static UINT32 op0110(char *buffer, UINT32 pc, UINT16 opcode)
static UINT32 op0111(char *buffer, UINT32 pc, UINT16 opcode)
{
- sprintf(buffer, "ADD #$%02X,%s\n", opcode & 0xff, regname[Rn]);
+ sprintf(buffer, "ADD #$%02X,%s", opcode & 0xff, regname[Rn]);
return 0;
}