mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 10:51:11 +00:00
ULTIMA4: Fix loading screen now showing correctly
Turns out the default new VGA charset has a required scaling of 2x. So the prior 320x200 screen also has to be doubled so it displays.
This commit is contained in:
parent
b29e45debc
commit
d6b114b5b3
@ -57,9 +57,10 @@ Screen::Screen() {
|
||||
g_screen = this;
|
||||
|
||||
Graphics::PixelFormat SCREEN_FORMAT(2, 5, 6, 5, 0, 11, 5, 0, 0);
|
||||
initGraphics(SCREEN_WIDTH, SCREEN_HEIGHT, &SCREEN_FORMAT);
|
||||
Common::Point size(SCREEN_WIDTH * settings._scale, SCREEN_HEIGHT * settings._scale);
|
||||
initGraphics(size.x, size.y, &SCREEN_FORMAT);
|
||||
|
||||
create(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_FORMAT);
|
||||
create(size.x, size.y, SCREEN_FORMAT);
|
||||
}
|
||||
|
||||
Screen::~Screen() {
|
||||
|
@ -60,7 +60,7 @@ Ultima4Engine::~Ultima4Engine() {
|
||||
Tileset::unloadAll();
|
||||
ImageMgr::destroy();
|
||||
|
||||
delete musicMgr;
|
||||
//delete musicMgr;
|
||||
soundDelete();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user