Skip to content

Commit

Permalink
Add comment explaining manual version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Nystrata committed Oct 31, 2024
1 parent 9a15c3d commit 27a8e76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/open_prime_rando/echoes/widescreen_hud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ def apply_widescreen_hud(editor: PatcherEditor):
"""
Replaces certain FRME files to adjust HUD/Visor widgets to better fit a 16:9 screen aspect ratio
"""

# TODO: Properly do version detection
# Currently detecting game version by existence of version-specific assets here, since PAK patching doesn't seem
# to have version detection,unlike DOL patching that does
if editor.does_asset_exists(0xEEF43AA1) and editor.does_asset_exists(0xF7EC0850):
detectedversion = "ntscu"
elif editor.does_asset_exists(0xB5CF0C19) and editor.does_asset_exists(0xD9D58FA5):
Expand Down

0 comments on commit 27a8e76

Please sign in to comment.