X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fregwin.c;h=f94b8f9c7cc629a73e3b7db895495b13630ec937;hb=4c86604f944240034b02db1bd37b9092455d5d9f;hp=e3b79d715966facf2c1a76b422b4febe25185dc4;hpb=b3a099e3ee32ce6b93358a9d7b637ad20fdb08c2;p=emu8051.git diff --git a/src/regwin.c b/src/regwin.c index e3b79d7..f94b8f9 100644 --- a/src/regwin.c +++ b/src/regwin.c @@ -33,6 +33,7 @@ #include "pgmwin.h" #include "instructions_8051.h" #include "hexfile.h" +#include "emugtk.h" static GtkWidget *reglist; @@ -387,9 +388,7 @@ regwin_cell_edited(GtkCellRendererText *cell, gchar *path_string, * Make sure to update all windows. * For example, R0-R7 values depends on internal memory values. */ - regwin_Show(); - memwin_DumpD(); - pgmwin_Disasm(); + emugtk_UpdateDisplay(); }; static void @@ -467,7 +466,7 @@ regwin_init(void) /* Show registers. */ void -regwin_Show(void) +regwin_refresh(void) { int row; GtkListStore *store;