From 27f3bdfd226e30c21bf1ace59a0843c417252844 Mon Sep 17 00:00:00 2001 From: Ahmad Abdallah <50462420+Ahmad8864@users.noreply.github.com> Date: Sun, 28 Jun 2026 03:40:43 +0300 Subject: [PATCH] Fix Aurora default size + ARAM macros (#231) --- include/aurora/aurora.h | 4 ++-- lib/dolphin/AR.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/aurora/aurora.h b/include/aurora/aurora.h index 9d22cc6..50caa5a 100644 --- a/include/aurora/aurora.h +++ b/include/aurora/aurora.h @@ -76,8 +76,8 @@ typedef struct AuroraEvent AuroraEvent; typedef void (*AuroraLogCallback)(AuroraLogLevel level, const char* module, const char* message, unsigned int len); typedef void (*AuroraImGuiInitCallback)(const AuroraWindowSize* size); -#define MEM1_DEFAULT_SIZE = 24 * 1024 * 1024; -#define ARAM_DEFAULT_SIZE = 16 * 1024 * 1024; +#define MEM1_DEFAULT_SIZE (24 * 1024 * 1024) +#define ARAM_DEFAULT_SIZE (16 * 1024 * 1024) typedef struct { const char* appName; diff --git a/lib/dolphin/AR.cpp b/lib/dolphin/AR.cpp index c2cb3bc..5020912 100644 --- a/lib/dolphin/AR.cpp +++ b/lib/dolphin/AR.cpp @@ -9,7 +9,7 @@ static u32* AR_BlockLength; static u32 AR_FreeBlocks; static BOOL AR_init_flag; -#define ARAM_STACK_START 0x4000; +#define ARAM_STACK_START 0x4000 // ARAM emulation: allocate a large buffer to simulate the GameCube's Auxiliary RAM. // ARAM "addresses" are offsets into this buffer. On GameCube, ARAM is 16 MB starting