summaryrefslogtreecommitdiff
path: root/include/librfu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/librfu.h')
-rw-r--r--include/librfu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/librfu.h b/include/librfu.h
index 83523433c..50dd1c3db 100644
--- a/include/librfu.h
+++ b/include/librfu.h
@@ -88,9 +88,13 @@
#define RFU_MBOOT_DOWNLOADER_SERIAL_NO 0x0000 // The game serial number of the multi-boot downloader (programs that boot without a Game Pak)
-// Sizes are 0x28 larger in v1028
+#if LIBRFU_VERSION >= 1028
+#define RFU_API_BUFF_SIZE_RAM 0x0e8c // Necessary size for buffer specified by rfu_initializeAPI (fast communication version that operates the library SIO interrupt routines in RAM)
+#define RFU_API_BUFF_SIZE_ROM 0x052c // Necessary size for buffer specified by rfu_initializeAPI (fast communication version that operates the library SIO interrupt routines in ROM)
+#else
#define RFU_API_BUFF_SIZE_RAM 0x0e64 // Necessary size for buffer specified by rfu_initializeAPI (fast communication version that operates the library SIO interrupt routines in RAM)
#define RFU_API_BUFF_SIZE_ROM 0x0504 // Necessary size for buffer specified by rfu_initializeAPI (fast communication version that operates the library SIO interrupt routines in ROM)
+#endif
#define RFU_CHILD_MAX 4 // Maximum number of slaves that can be connected to one parent device