Libretro: Remove GBA LCD filter

Libretro use shaders for filters etc.
This commit is contained in:
retro-wertz 2018-06-16 15:53:20 +08:00
parent 76389d8e94
commit f4b88ba63a
1 changed files with 4 additions and 0 deletions

View File

@ -238,12 +238,16 @@ void utilUpdateSystemColorMaps(bool lcd)
for (int i = 0; i < 0x10000; i++) {
systemColorMap16[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift);
}
if (lcd)
gbafilter_pal(systemColorMap16, 0x10000);
} break;
case 24:
case 32: {
for (int i = 0; i < 0x10000; i++) {
systemColorMap32[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift);
}
if (lcd)
gbafilter_pal32(systemColorMap32, 0x10000);
} break;
}
}