dep/rcheevos: Avoid -1 return in rc_runtime_progress_size()

This commit is contained in:
Stenzek 2024-06-28 13:12:07 +10:00
parent 71c319ccf0
commit 5c94ab9f22
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ uint32_t rc_runtime_progress_size(const rc_runtime_t* runtime, lua_State* L)
result = rc_runtime_progress_serialize_internal(&progress);
if (result != RC_OK)
return result;
return 0;
return progress.offset;
}