mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Savestates: Rename DeferDeserialization, add some asserts
This commit is contained in:
parent
f5d39ef7f2
commit
ce5f7bd4ff
9 changed files with 35 additions and 16 deletions
|
|
@ -242,7 +242,7 @@ namespace stx
|
|||
*m_info++ = nullptr;
|
||||
}
|
||||
|
||||
void init(bool reset = true, utils::serial* ar = nullptr)
|
||||
void init(bool reset = true, utils::serial* ar = nullptr, std::function<void()> func = {})
|
||||
{
|
||||
if (reset)
|
||||
{
|
||||
|
|
@ -297,6 +297,11 @@ namespace stx
|
|||
}
|
||||
}
|
||||
|
||||
if (func)
|
||||
{
|
||||
func();
|
||||
}
|
||||
|
||||
// Launch threads
|
||||
for (auto it = m_info; it != info_before; it--)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue