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:
Paul Gilbert 2020-03-22 21:11:27 -07:00 committed by Paul Gilbert
parent b29e45debc
commit d6b114b5b3
2 changed files with 4 additions and 3 deletions

View File

@ -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() {

View File

@ -60,7 +60,7 @@ Ultima4Engine::~Ultima4Engine() {
Tileset::unloadAll();
ImageMgr::destroy();
delete musicMgr;
//delete musicMgr;
soundDelete();
}