sdl: code cleanup
This commit is contained in:
parent
e4e0ea6228
commit
989e3271c6
|
@ -319,6 +319,8 @@ std::string GetUserText (const char *title)
|
|||
#ifdef _GTK
|
||||
/* prg318 - 10/13/11 - this is broken in recent build and causes segfaults/very weird behavior
|
||||
i'd rather remove it for now than it cause accidental segfaults
|
||||
TODO fix it
|
||||
|
||||
GtkWidget* d;
|
||||
GtkWidget* entry;
|
||||
|
||||
|
@ -1150,12 +1152,12 @@ UpdateGamepad (void)
|
|||
}
|
||||
}
|
||||
|
||||
// for(x=0;x<32;x+=8) /* Now, test to see if anything weird(up+down at same time)
|
||||
// is happening, and correct */
|
||||
// {
|
||||
// if((JS & (0xC0<<x) ) == (0xC0<<x) ) JS&=~(0xC0<<x);
|
||||
// if((JS & (0x30<<x) ) == (0x30<<x) ) JS&=~(0x30<<x);
|
||||
// }
|
||||
// for(x=0;x<32;x+=8) /* Now, test to see if anything weird(up+down at same time)
|
||||
// is happening, and correct */
|
||||
// {
|
||||
// if((JS & (0xC0<<x) ) == (0xC0<<x) ) JS&=~(0xC0<<x);
|
||||
// if((JS & (0x30<<x) ) == (0x30<<x) ) JS&=~(0x30<<x);
|
||||
// }
|
||||
|
||||
JSreturn = JS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue