Skip to content

Commit

Permalink
Merge pull request #623 from FedericoMilesi/fixwebbuild
Browse files Browse the repository at this point in the history
Fix web build
  • Loading branch information
fmil95 authored Jan 31, 2024
2 parents b308ea8 + d2ed6a7 commit ca72838
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions KAIN2/Game/STREAM.C
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void STREAM_AbortAreaLoad(char* baseAreaName) // Matching - 100%

STREAM_FillOutFileNames(baseAreaName, NULL, vramName, NULL);
LOAD_AbortDirectoryChange(baseAreaName);
LOAD_AbortFileLoad(vramName, VRAM_LoadReturn);
LOAD_AbortFileLoad(vramName, (void*)VRAM_LoadReturn);
}

void STREAM_Init() // Matching - 100%
Expand Down Expand Up @@ -526,7 +526,7 @@ void STREAM_DumpObject(struct _ObjectTracker* objectTracker) // Matching - 100%
if (objectTracker->objectStatus == 1)
{
sprintf(dramName, "\\kain2\\object\\%s\\%s.drm", objectTracker->name, objectTracker->name);
LOAD_AbortFileLoad(dramName, STREAM_StreamLoadObjectAbort);
LOAD_AbortFileLoad(dramName, (void*)STREAM_StreamLoadObjectAbort);
}
else if (object != NULL)
{
Expand Down Expand Up @@ -1296,7 +1296,7 @@ void STREAM_LoadMainVram(struct GameTracker* gameTracker, char* baseAreaName, st
vramBuffer->yOffset = 0;
vramBuffer->lengthOfLeftOverData = 0;

LOAD_NonBlockingBufferedLoad(vramName, VRAM_TransferBufferToVram, vramBuffer, NULL);
LOAD_NonBlockingBufferedLoad(vramName, (void*)VRAM_TransferBufferToVram, vramBuffer, NULL);
}

void STREAM_MoveIntoNewStreamUnit() // Matching - 100%
Expand Down

0 comments on commit ca72838

Please sign in to comment.