diff --git a/gui.c b/gui.c index 1734ece..4ff163f 100644 --- a/gui.c +++ b/gui.c @@ -437,7 +437,7 @@ int update_memdump(WINDOW *win,uint32_t address,struct simdata_t *simdata){ int width,height; getmaxyx(win,height,width); box(win, 0 , 0); - mvwprintw(win,0,width/2-6,"[ MEMDUMP ]"); + mvwprintw(win,0,width/2-5,"[ MEMORY ]"); if(simdata->registers==NULL||simdata->RAM==NULL){ mvwprintw(win,1,1,"Data not initialised"); return 0; @@ -666,10 +666,10 @@ int update_general_terminal_output(struct simdata_t *simdata){ int vfb_width=(width-2)*2; int vfb_height=(height-2)*4; + float x0,y0,x1,y1; for(uint64_t i=0;i < simdata->terminal_output_size/4;i++){ uint32_t c=simdata->terminal_output[i]; if(vector){ - float x0,y0,x1,y1; switch(vstate){ case 0: /*start of line*/ if(c==0x00000001)