diff --git a/src/SB/Core/gc/iFMV.cpp b/src/SB/Core/gc/iFMV.cpp index b107ce20..bb9b3004 100644 --- a/src/SB/Core/gc/iFMV.cpp +++ b/src/SB/Core/gc/iFMV.cpp @@ -64,13 +64,12 @@ void arammalloc(size_t size) ARAlloc(size); } -#ifdef NON_MATCHING // Something weird is going on here... -void aramfree(void* mem) +static void aramfree(void* mem) { - ARFree(mem); + void* vol; + ARFree(&vol); } -#endif #if 0 // WIP. diff --git a/src/SB/Core/gc/iFMV.h b/src/SB/Core/gc/iFMV.h index b61d79a7..6d313361 100644 --- a/src/SB/Core/gc/iFMV.h +++ b/src/SB/Core/gc/iFMV.h @@ -19,7 +19,7 @@ static void Setup_surface_array(); void Decompress_frame(HBINK bnk, HRAD3DIMAGE rad_image, S64 flags); void arammalloc(size_t size); -void aramfree(void* mem); +static void aramfree(void* mem); void PlayFMV(char* filename, size_t buttons, F32 time); #endif