summaryrefslogtreecommitdiff
path: root/src/code/z_play.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/z_play.c')
-rw-r--r--src/code/z_play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_play.c b/src/code/z_play.c
index 3cfedca3d..bfca2ab4f 100644
--- a/src/code/z_play.c
+++ b/src/code/z_play.c
@@ -1505,7 +1505,7 @@ void* Play_LoadFileFromDiskDrive(PlayState* this, RomFile* file) {
void* allocp;
size = file->vromEnd - file->vromStart;
- allocp = THA_AllocTailAlign16(&this->state.tha, size);
+ allocp = GAME_STATE_ALLOC(&this->state, size, "../z_play.c", UNK_LINE);
func_801C7C1C(allocp, file->vromStart, size);
return allocp;