Savestates: Rename DeferDeserialization, add some asserts

This commit is contained in:
Eladash 2023-12-31 21:10:51 +02:00 committed by Elad Ashkenazi
parent f5d39ef7f2
commit ce5f7bd4ff
9 changed files with 35 additions and 16 deletions

View file

@ -28,7 +28,7 @@ lv2_int_tag::lv2_int_tag(utils::serial& ar) noexcept
if (!ptr && id)
{
Emu.DeferDeserialization([id, &handler = this->handler]()
Emu.PostponeInitCode([id, &handler = this->handler]()
{
handler = ensure(idm::get_unlocked<lv2_obj, lv2_int_serv>(id));
});