mirror of
https://github.com/zeldaret/oot
synced 2026-08-19 22:02:29 -04:00
changes
This commit is contained in:
+4
-1
@@ -1,7 +1,10 @@
|
||||
#ifndef _REGS_H_
|
||||
#define _REGS_H_
|
||||
|
||||
#define BASE_REG(n, r) gGameInfo->data[n * 96 + r]
|
||||
#define REG_GROUPS 29 //number of REG groups, i.e. REG, SREG, OREG, etc.
|
||||
#define REG_PER_GROUP 96
|
||||
|
||||
#define BASE_REG(n, r) gGameInfo->data[n * REG_PER_GROUP + r]
|
||||
|
||||
#define REG(r) BASE_REG(0, r)
|
||||
#define SREG(r) BASE_REG(1, r)
|
||||
|
||||
Reference in New Issue
Block a user