BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls
This commit is contained in:
parent
6575cd195b
commit
ce32745d9c
26 changed files with 75 additions and 89 deletions
|
@ -394,15 +394,6 @@ void OSystem_Wii::setCursorPalette(const byte *colors, uint start, uint num) {
|
|||
_cursorPaletteDirty = true;
|
||||
}
|
||||
|
||||
void OSystem_Wii::disableCursorPalette(bool disable) {
|
||||
_cursorPaletteDisabled = disable;
|
||||
|
||||
if (_texMouse.palette && disable) {
|
||||
memcpy(_texMouse.palette, _cursorPalette, 256 * 2);
|
||||
_cursorPaletteDirty = true;
|
||||
}
|
||||
}
|
||||
|
||||
void OSystem_Wii::copyRectToScreen(const byte *buf, int pitch, int x, int y,
|
||||
int w, int h) {
|
||||
assert(x >= 0 && x < _gameWidth);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue