1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-16 04:44:44 +00:00

tweak defines

This commit is contained in:
mzxrules 2020-03-19 20:10:32 -04:00
parent 8063249af4
commit 858e937519
2 changed files with 16 additions and 16 deletions

View file

@ -2,7 +2,9 @@
#define _REGS_H_
#define REG_GROUPS 29 //number of REG groups, i.e. REG, SREG, OREG, etc.
#define REG_PER_GROUP 96
#define REG_PAGES 6
#define REG_PER_PAGE 16
#define REG_PER_GROUP REG_PAGES * REG_PER_PAGE
#define BASE_REG(n, r) gGameInfo->data[n * REG_PER_GROUP + r]