mirror of
https://github.com/zeldaret/oot
synced 2026-08-21 22:40:55 -04:00
Finished decomp of code_800F7260 (1 non-matching) (#733)
* improved match * decomped * I dunno * matched Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
+3
-3
@@ -778,11 +778,11 @@ typedef struct {
|
||||
*
|
||||
*/
|
||||
|
||||
#define SFX_BANK_SHIFT(sfxId) ((sfxId >> 0xC) & 0xFF)
|
||||
#define SFX_BANK_SHIFT(sfxId) (((sfxId) >> 0xC) & 0xFF)
|
||||
|
||||
#define SFX_BANK_MASK(sfxId) (sfxId & 0xF000)
|
||||
#define SFX_BANK_MASK(sfxId) ((sfxId) & 0xF000)
|
||||
|
||||
#define SFX_INDEX(sfxId) (sfxId & 0x01FF)
|
||||
#define SFX_INDEX(sfxId) ((sfxId) & 0x01FF)
|
||||
#define SFX_BANK(sfxId) SFX_BANK_SHIFT(SFX_BANK_MASK(sfxId))
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user