mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +01:00
display a dot for mouse position for debugging
This commit is contained in:
parent
48618fddaf
commit
55795bcacf
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user