Project: Updated the name of the main memory window and made a small change to make clang happy
This commit is contained in:
parent
9f987da7a6
commit
f6008b603d
4
gui.c
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user