Libretro: Remove GBA LCD filter
Libretro use shaders for filters etc.
This commit is contained in:
parent
76389d8e94
commit
f4b88ba63a
|
@ -238,12 +238,16 @@ void utilUpdateSystemColorMaps(bool lcd)
|
||||||
for (int i = 0; i < 0x10000; i++) {
|
for (int i = 0; i < 0x10000; i++) {
|
||||||
systemColorMap16[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift);
|
systemColorMap16[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift);
|
||||||
}
|
}
|
||||||
|
if (lcd)
|
||||||
|
gbafilter_pal(systemColorMap16, 0x10000);
|
||||||
} break;
|
} break;
|
||||||
case 24:
|
case 24:
|
||||||
case 32: {
|
case 32: {
|
||||||
for (int i = 0; i < 0x10000; i++) {
|
for (int i = 0; i < 0x10000; i++) {
|
||||||
systemColorMap32[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift);
|
systemColorMap32[i] = ((i & 0x1f) << systemRedShift) | (((i & 0x3e0) >> 5) << systemGreenShift) | (((i & 0x7c00) >> 10) << systemBlueShift);
|
||||||
}
|
}
|
||||||
|
if (lcd)
|
||||||
|
gbafilter_pal32(systemColorMap32, 0x10000);
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue