Skip to content

Commit

Permalink
iFMV: match cursed function aramfree (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
escape209 authored Sep 23, 2024
1 parent 92a12d5 commit b6cbed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/SB/Core/gc/iFMV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/SB/Core/gc/iFMV.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b6cbed8

Please sign in to comment.