diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-02-16 12:06:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-16 12:06:26 -0500 |
commit | 6c52359bcb3e8ed72628bcdb16b7fc153d0e67f1 (patch) | |
tree | 23e9b9a86c6e85d436b045f37e6adfb0c533f5dc /include/librfu.h | |
parent | b6899a0de1d64b97bcbaa4239b1d87ced98d005a (diff) | |
parent | 6ffc10a1c4a3162ff4caefe9f057d9916d0cdce3 (diff) |
Merge pull request #257 from jiangzhengwenjz/librfu
match RFU SDK v1.0.26
Diffstat (limited to 'include/librfu.h')
-rw-r--r-- | include/librfu.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/librfu.h b/include/librfu.h index 50dd1c3db..3c9d776f1 100644 --- a/include/librfu.h +++ b/include/librfu.h @@ -4,6 +4,8 @@ #include "global.h" #include "main.h" +#define LIBRFU_VERSION 1024 + /* TODOs: * - documentation * - check if any field needs to be volatile @@ -307,7 +309,11 @@ struct STWIStatus u8 ackActiveCommand; u8 timerSelect; u8 unk_b; - u32 timerState; // this field is s32 in emerald +#if LIBRFU_VERSION >= 1026 + s32 timerState; +#else + u32 timerState; +#endif vu8 timerActive; u8 unk_11; vu16 error; @@ -472,7 +478,7 @@ extern struct RfuFixed *gRfuFixed; extern struct RfuSlotStatusNI *gRfuSlotStatusNI[RFU_CHILD_MAX]; extern struct RfuSlotStatusUNI *gRfuSlotStatusUNI[RFU_CHILD_MAX]; -// librfu_s32id +// librfu_sio32id s32 AgbRFU_checkID(u8 maxTries); // Arguments with "bm..." specify slots of the form (0x01 << slot number) that are the object of a function operation. |