From e1b4c479a5a3d37d90442339610f9ad8062fc0e8 Mon Sep 17 00:00:00 2001 From: evilynux Date: Tue, 16 Jan 2007 06:29:03 +0000 Subject: [PATCH] Fixed 16bit and 32bit displays. --- desmume/src/gtk-glade/dTools/callbacks_2_memview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desmume/src/gtk-glade/dTools/callbacks_2_memview.c b/desmume/src/gtk-glade/dTools/callbacks_2_memview.c index 97dfa6dfb..c9066eceb 100755 --- a/desmume/src/gtk-glade/dTools/callbacks_2_memview.c +++ b/desmume/src/gtk-glade/dTools/callbacks_2_memview.c @@ -77,8 +77,8 @@ static void wtools_2_update() { m16 = *mem16; *mem16 = MMU_readHWord(cpu, addr); if (m16 != *mem16) { sprintf(txt, " %04X", *mem16); - dTools_display_clear_char(&dsp, 12+6*j, i, 6); - dTools_display_draw_text(&dsp, 12+6*j, i, txt); + dTools_display_clear_char(&dsp, 12+3*j, i, 6); + dTools_display_draw_text(&dsp, 12+3*j, i, txt); } } } @@ -89,8 +89,8 @@ static void wtools_2_update() { m32 = *mem32; *mem32 = MMU_readWord(cpu, addr); if (m32 != *mem32) { sprintf(txt, " %08X", *mem32); - dTools_display_clear_char(&dsp, 12+12*j, i, 12); - dTools_display_draw_text(&dsp, 12+6*j, i, txt); + dTools_display_clear_char(&dsp, 12+3*j, i, 12); + dTools_display_draw_text(&dsp, 12+3*j, i, txt); } } }