mirror of https://github.com/PCSX2/pcsx2.git
Deps: Avoid -1 return in rc_runtime_progress_size()
This commit is contained in:
parent
44038adaf8
commit
a483aca361
|
@ -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);
|
result = rc_runtime_progress_serialize_internal(&progress);
|
||||||
if (result != RC_OK)
|
if (result != RC_OK)
|
||||||
return result;
|
return 0;
|
||||||
|
|
||||||
return progress.offset;
|
return progress.offset;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue