From e85944ccd974d25e32809850f0b3fa94d757de45 Mon Sep 17 00:00:00 2001
From: notaz <notasas@gmail.com>
Date: Mon, 22 Jul 2013 03:53:04 +0300
Subject: [PATCH] sh2dasm: print addrs consistently with everything else

---
 cpu/sh2/mame/sh2dasm.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/cpu/sh2/mame/sh2dasm.c b/cpu/sh2/mame/sh2dasm.c
index 06f3057b..21a32e68 100644
--- a/cpu/sh2/mame/sh2dasm.c
+++ b/cpu/sh2/mame/sh2dasm.c
@@ -471,16 +471,16 @@ static UINT32 op1000(char *buffer, UINT32 pc, UINT16 opcode)
 		sprintf(buffer, "CMP/EQ  #$%02X,R0", (opcode & 0xff));
 		break;
 	case  9:
-		sprintf(buffer, "BT      $%08X", pc + SIGNX8(opcode & 0xff) * 2 + 2);
+		sprintf(buffer, "BT      $%08x", pc + SIGNX8(opcode & 0xff) * 2 + 2);
 		break;
 	case 11:
-		sprintf(buffer, "BF      $%08X", pc + SIGNX8(opcode & 0xff) * 2 + 2);
+		sprintf(buffer, "BF      $%08x", pc + SIGNX8(opcode & 0xff) * 2 + 2);
 		break;
 	case 13:
-		sprintf(buffer, "BTS     $%08X", pc + SIGNX8(opcode & 0xff) * 2 + 2);
+		sprintf(buffer, "BTS     $%08x", pc + SIGNX8(opcode & 0xff) * 2 + 2);
 		break;
 	case 15:
-		sprintf(buffer, "BFS     $%08X", pc + SIGNX8(opcode & 0xff) * 2 + 2);
+		sprintf(buffer, "BFS     $%08x", pc + SIGNX8(opcode & 0xff) * 2 + 2);
 		break;
 	default :
 		sprintf(buffer, "invalid $%04X", opcode);
@@ -497,13 +497,13 @@ static UINT32 op1001(char *buffer, UINT32 pc, UINT16 opcode)
 
 static UINT32 op1010(char *buffer, UINT32 pc, UINT16 opcode)
 {
-	sprintf(buffer, "BRA     $%08X", SIGNX12(opcode & 0xfff) * 2 + pc + 2);
+	sprintf(buffer, "BRA     $%08x", SIGNX12(opcode & 0xfff) * 2 + pc + 2);
 	return 0;
 }
 
 static UINT32 op1011(char *buffer, UINT32 pc, UINT16 opcode)
 {
-	sprintf(buffer, "BSR     $%08X", SIGNX12(opcode & 0xfff) * 2 + pc + 2);
+	sprintf(buffer, "BSR     $%08x", SIGNX12(opcode & 0xfff) * 2 + pc + 2);
 	return DASMFLAG_STEP_OVER | DASMFLAG_STEP_OVER_EXTRA(1);
 }
 
-- 
2.39.5