mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 07:46:11 +00:00
N64: Do not access Surface::pixels anymore.
This commit is contained in:
parent
30d2eb7a97
commit
c28f3baa77
@ -605,11 +605,7 @@ void OSystem_N64::updateScreen() {
|
||||
}
|
||||
|
||||
Graphics::Surface *OSystem_N64::lockScreen() {
|
||||
_framebuffer.pixels = _offscreen_pal;
|
||||
_framebuffer.w = _gameWidth;
|
||||
_framebuffer.h = _gameHeight;
|
||||
_framebuffer.pitch = _screenWidth;
|
||||
_framebuffer.format = Graphics::PixelFormat::createFormatCLUT8();
|
||||
_framebuffer.init(_gameWidth, _gameHeight, _screenWidth, _offscreen_pal, Graphics::PixelFormat::createFormatCLUT8());
|
||||
|
||||
return &_framebuffer;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user