sdl: code cleanup

This commit is contained in:
punkrockguy318 2012-08-04 20:14:35 +00:00
parent e4e0ea6228
commit 989e3271c6
1 changed files with 41 additions and 39 deletions

View File

@ -319,6 +319,8 @@ std::string GetUserText (const char *title)
#ifdef _GTK #ifdef _GTK
/* prg318 - 10/13/11 - this is broken in recent build and causes segfaults/very weird behavior /* 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 i'd rather remove it for now than it cause accidental segfaults
TODO fix it
GtkWidget* d; GtkWidget* d;
GtkWidget* entry; 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) // for(x=0;x<32;x+=8) /* Now, test to see if anything weird(up+down at same time)
// is happening, and correct */ // is happening, and correct */
// { // {
// if((JS & (0xC0<<x) ) == (0xC0<<x) ) JS&=~(0xC0<<x); // if((JS & (0xC0<<x) ) == (0xC0<<x) ) JS&=~(0xC0<<x);
// if((JS & (0x30<<x) ) == (0x30<<x) ) JS&=~(0x30<<x); // if((JS & (0x30<<x) ) == (0x30<<x) ) JS&=~(0x30<<x);
// } // }
JSreturn = JS; JSreturn = JS;
} }