display a dot for mouse position for debugging

This commit is contained in:
dborth 2008-09-11 04:42:43 +00:00
parent 48618fddaf
commit 55795bcacf

View File

@ -481,7 +481,7 @@ void S9xUnmapAllControls(void){
mouse[i].cur_x=mouse[i].cur_y=0; mouse[i].cur_x=mouse[i].cur_y=0;
mouse[i].buttons=1; mouse[i].buttons=1;
mouse[i].ID=InvalidControlID; mouse[i].ID=InvalidControlID;
if(!(mouse[i].crosshair.set&1)) mouse[i].crosshair.img=0; // no image for mouse because its only logical position is game-specific, not known by the emulator if(!(mouse[i].crosshair.set&1)) mouse[i].crosshair.img=1; // no image for mouse because its only logical position is game-specific, not known by the emulator
if(!(mouse[i].crosshair.set&2)) mouse[i].crosshair.fg=5; if(!(mouse[i].crosshair.set&2)) mouse[i].crosshair.fg=5;
if(!(mouse[i].crosshair.set&4)) mouse[i].crosshair.bg=1; if(!(mouse[i].crosshair.set&4)) mouse[i].crosshair.bg=1;
justifier.x[i]=justifier.y[i]=0; justifier.x[i]=justifier.y[i]=0;