diff options
Diffstat (limited to 'engines/sword1/control.cpp')
-rw-r--r-- | engines/sword1/control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp index aee49c4b60..1d310d55e2 100644 --- a/engines/sword1/control.cpp +++ b/engines/sword1/control.cpp @@ -256,7 +256,7 @@ void Control::askForCd() { } palOut[0] = palOut[1] = palOut[2] = palOut[3] = 0; _resMan->resClose(SR_PALETTE); - _system->setPalette(palOut, 0, 256); + _system->getPaletteManager()->setPalette(palOut, 0, 256); free(palOut); char fName[10]; @@ -326,7 +326,7 @@ uint8 Control::runPanel() { } palOut[0] = palOut[1] = palOut[2] = palOut[3] = 0; _resMan->resClose(SR_PALETTE); - _system->setPalette(palOut, 0, 256); + _system->getPaletteManager()->setPalette(palOut, 0, 256); free(palOut); uint8 mode = 0, newMode = BUTTON_MAIN_PANEL; bool fullRefresh = false; |