diff --git a/desmume/src/gtk-glade/dTools/callbacks_1_ioregs.c b/desmume/src/gtk-glade/dTools/callbacks_1_ioregs.c index a8b217ce2..381c7e70b 100755 --- a/desmume/src/gtk-glade/dTools/callbacks_1_ioregs.c +++ b/desmume/src/gtk-glade/dTools/callbacks_1_ioregs.c @@ -65,7 +65,7 @@ static void update_regs() for( i = 0; i < NBR_IO_REGS; i++ ) { - mask = ( Reg_Names_Addr[i].trunc ) ? "0x%04x" : "0x%08x"; + mask = ( Reg_Names_Addr[i].trunc ) ? "0x%04X" : "0x%08X"; sprintf(lbl_name,"wtools_1_%s_value\0\0", Reg_Names_Addr[i].name); w = MMU_read32(cpu,Reg_Names_Addr[i].addr); sprintf(lbl_text, mask, w);