From 5433a517923d0bf2efb2d4984286255a1cf66d63 Mon Sep 17 00:00:00 2001 From: Mips96 <57763469+Mips96@users.noreply.github.com> Date: Tue, 15 Nov 2022 19:43:24 -0500 Subject: [PATCH] Two PSP changes - Changed default PSP scaling to "Full Game"; pixel-perfect is just too small on there IMO - Slightly adjusted end of level Trogdor scaling to fix a PSP bug --- Trogdor-Reburninated/src/main.h | 2 ++ Trogdor-Reburninated/src/media_objects_init.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Trogdor-Reburninated/src/main.h b/Trogdor-Reburninated/src/main.h index 9e5d933..dbd3109 100644 --- a/Trogdor-Reburninated/src/main.h +++ b/Trogdor-Reburninated/src/main.h @@ -414,6 +414,8 @@ double screenScale_menu = 1; bool allowHiRes = true; #if defined(VITA) || defined(WII_U) || defined(SWITCH) Sint8 scalingType = 1; +#elif defined(PSP) +Sint8 scalingType = 3; #else Sint8 scalingType = 0; #endif diff --git a/Trogdor-Reburninated/src/media_objects_init.cpp b/Trogdor-Reburninated/src/media_objects_init.cpp index 857d952..2be1f92 100644 --- a/Trogdor-Reburninated/src/media_objects_init.cpp +++ b/Trogdor-Reburninated/src/media_objects_init.cpp @@ -608,10 +608,10 @@ void InitializeSpritesPart2() { 0, 0, 6, 2, 1); PREPARE_SPRITE(sprite_peasant, (rootDir + "graphics/peasant.bmp").c_str(), 0, 0, 2, 4, 1); - if (gameHiResMult < 1.5) { + if (gameHiResMult < 1.6) { PREPARE_SPRITE(sprite_end_of_level_trogdor, (rootDir + "graphics/end_of_level_trogdor.bmp").c_str(), OBJ_TO_SCREEN_AT_FRACTION_X(gameWidth, sprite_end_of_level_trogdor, 0.476), OBJ_TO_SCREEN_AT_FRACTION_Y(gameHeight, sprite_end_of_level_trogdor, 0.6), 1, 2, 2); - } else { // TODO: this could be polished a bit further for (1.5 <= gameHiResMult < 2) + } else { // TODO: this could be polished a bit further for (1.6 <= gameHiResMult < 2) PREPARE_SPRITE(sprite_end_of_level_trogdor, (rootDir + "graphics/end_of_level_trogdor.bmp").c_str(), OBJ_TO_SCREEN_AT_FRACTION_X(gameWidth, sprite_end_of_level_trogdor, 0.476), OBJ_TO_SCREEN_AT_FRACTION_Y(gameHeight, sprite_end_of_level_trogdor, 0.6), 1, 2, 1.5); }