mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 23:52:41 +00:00
SCI32: Make upscaled games work (e.g. gk1 hires)
This commit is contained in:
parent
327ba19d4a
commit
5b528a5582
@ -79,15 +79,15 @@ GfxFrameout::GfxFrameout(SegManager *segMan, ResourceManager *resMan, GfxCoordAd
|
||||
_paint32(paint32),
|
||||
_showStyles(nullptr),
|
||||
// TODO: Stop using _gfxScreen
|
||||
_currentBuffer(screen->getWidth(), screen->getHeight(), nullptr),
|
||||
_priorityMap(screen->getWidth(), screen->getHeight(), nullptr),
|
||||
_currentBuffer(screen->getDisplayWidth(), screen->getDisplayHeight(), nullptr),
|
||||
_priorityMap(screen->getDisplayWidth(), screen->getDisplayHeight(), nullptr),
|
||||
_remapOccurred(false),
|
||||
_frameNowVisible(false),
|
||||
_screenRect(screen->getWidth(), screen->getHeight()),
|
||||
_screenRect(screen->getDisplayWidth(), screen->getDisplayHeight()),
|
||||
_overdrawThreshold(0),
|
||||
_palMorphIsOn(false) {
|
||||
|
||||
_currentBuffer.setPixels(calloc(1, screen->getWidth() * screen->getHeight()));
|
||||
_currentBuffer.setPixels(calloc(1, screen->getDisplayWidth() * screen->getDisplayHeight()));
|
||||
|
||||
for (int i = 0; i < 236; i += 2) {
|
||||
_styleRanges[i] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user