dep/rcheevos: Avoid -1 return in rc_runtime_progress_size()
This commit is contained in:
parent
71c319ccf0
commit
5c94ab9f22
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue