Opps
This commit is contained in:
parent
009c09ef4a
commit
9c85991773
|
@ -238,16 +238,12 @@ 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