mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 22:44:30 +00: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:
parent
cf78de2b11
commit
d141e39e77
3 changed files with 236 additions and 624 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue