mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 15:31:59 +00:00
Make AGIPAL also accept 'pal.100' (Original hacked interpreter also does this).
svn-id: r30213
This commit is contained in:
parent
a1503bf7c8
commit
28bbae1745
@ -1332,9 +1332,9 @@ cmd(mouse_posn) {
|
||||
cmd(shake_screen) {
|
||||
int i;
|
||||
|
||||
// AGIPAL uses shake.screen values between 101 and 109 to
|
||||
// set the palette.
|
||||
if (p0 >= 101 && p0 < 110) {
|
||||
// AGIPAL uses shake.screen values between 100 and 109 to set the palette
|
||||
// (Checked the original AGIPAL-hack's shake.screen-routine's disassembly).
|
||||
if (p0 >= 100 && p0 < 110) {
|
||||
if (g_agi->getFeatures() & GF_AGIPAL) {
|
||||
g_gfx->setAGIPal(p0);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user