1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-08 08:55:17 +00:00

[PAL N64] Create macros for 50-Hz-related values (#2206)

* [PAL N64] Create macros for 50-Hz-related values

* Use FRAME_RATE_DEPENDENT for player speeds and boot data too

* FRAME_RATE_DEPENDENT -> FRAMERATE_CONST
This commit is contained in:
cadmic 2024-09-18 12:14:47 -07:00 committed by GitHub
parent 2122a4345b
commit 8348132511
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 258 additions and 130 deletions

View file

@ -214,6 +214,13 @@
#define LANGUAGE_ARRAY(jpn, eng, ger, fra) { eng, ger, fra }
#endif
// Macro for constants that change in 50 Hz N64 PAL versions.
#if !OOT_PAL_N64
#define FRAMERATE_CONST(value60Hz, value50Hz) (value60Hz)
#else
#define FRAMERATE_CONST(value60Hz, value50Hz) (value50Hz)
#endif
/**
* `x` vertex x
* `y` vertex y