diff --git a/zsnes/src/linux/sdllink.c b/zsnes/src/linux/sdllink.c index 49a08a96..f435946b 100644 --- a/zsnes/src/linux/sdllink.c +++ b/zsnes/src/linux/sdllink.c @@ -335,7 +335,6 @@ void ProcessKeyBuf(int scancode) } } // TODO Figure out what the rest these are supposed to be - DDOI - // printf("Scancode : %i Left : %i Right : %i\n", scancode, SDLK_LEFT, SDLK_RIGHT); switch (scancode) { case SDLK_PAGEUP: vkeyval=256+73; accept=true; break; case SDLK_UP: vkeyval=256+72; accept=true; break; @@ -481,7 +480,7 @@ int startgame(void) { color32=((i&0xF800)<<8)+ ((i&0x07E0)<<5)+ - ((i&0x001F)<<3)+0x7F000000; + ((i&0x001F)<<3)+0xFF000000; (*(unsigned int *)(ScreenPtr2))=color32; ScreenPtr2+=4; } diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index aa869ee1..72570fc3 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -1045,7 +1045,7 @@ startgame() { color32=((i&0xF800)<<8)+ ((i&0x07E0)<<5)+ - ((i&0x001F)<<3)+0x7F000000; + ((i&0x001F)<<3)+0xFF000000; (*(unsigned int *)(ScreenPtr2))=color32; ScreenPtr2+=4; }