m500 support working in RetroArch

This commit is contained in:
meepingsnesroms
2019-11-26 12:45:35 -08:00
parent 4738d36119
commit 2ece2d56d4
5 changed files with 4 additions and 261 deletions

View File

@@ -774,7 +774,7 @@ void emulatorRunFrame(void){
if(palmMisc.backlightLevel == 100){
MULTITHREAD_LOOP(index) for(index = 0; index < 160 * 160; index++){
uint16_t greenChannel = (palmFramebuffer[index] & 0x07E0) + 0x00E0;
uint16_t greenChannel = (palmFramebuffer[index] & 0x07E0) + 0x00C0;
palmFramebuffer[index] = palmFramebuffer[index] & 0xF81F | FAST_MIN(greenChannel, 0x07E0);
}
}