Skip to content

Commit

Permalink
Two PSP changes
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Mode8fx committed Nov 16, 2022
1 parent e30b97a commit 5433a51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Trogdor-Reburninated/src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Trogdor-Reburninated/src/media_objects_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5433a51

Please sign in to comment.