mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
RTech: fix return type for 'PakLoadFuncs_s::WaitForAsyncLoad()'
WaitForAsyncLoad() returns a bool; returns false if pak status = PAK_STATUS_ERROR.
This commit is contained in:
parent
6827d1ed02
commit
ec9fc7d77f
@ -60,8 +60,8 @@ struct PakLoadFuncs_s
|
|||||||
void (*HelpWithPendingRequests)();
|
void (*HelpWithPendingRequests)();
|
||||||
|
|
||||||
// lock and wait for a specific pakfile to load by pakid, and help with other
|
// lock and wait for a specific pakfile to load by pakid, and help with other
|
||||||
// allocated jobs in the mean time
|
// allocated jobs in the mean time. returns false if status is PAK_STATUS_ERROR
|
||||||
void (*WaitForAsyncLoad)(const PakHandle_t handle, void(* const finishCallback));
|
bool (*WaitForAsyncLoad)(const PakHandle_t handle, void(* const finishCallback));
|
||||||
|
|
||||||
// lock and wait for a specific pakfile to unload by pakid, and help with other
|
// lock and wait for a specific pakfile to unload by pakid, and help with other
|
||||||
// allocated jobs in the mean time
|
// allocated jobs in the mean time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user