Savestates: Fix main_ppu_module definition

This commit is contained in:
Elad 2024-12-25 10:56:39 +02:00
parent cfeb022340
commit 7a4e88c146
2 changed files with 5 additions and 1 deletions

View File

@ -186,6 +186,10 @@ struct main_ppu_module : public ppu_module<T>
u32 elf_entry{};
u32 seg0_code_end{};
std::vector<u32> applied_patches;
// Disable inherited savestate ordering
void save(utils::serial&) = delete;
static constexpr double savestate_init_pos = double{};
};
// Aux

View File

@ -42,7 +42,7 @@ static std::array<serial_ver_t, 27> s_serial_versions;
return ::s_serial_versions[identifier].current_version;\
}
SERIALIZATION_VER(global_version, 0, 18) // For stuff not listed here
SERIALIZATION_VER(global_version, 0, 19) // For stuff not listed here
SERIALIZATION_VER(ppu, 1, 1, 2/*PPU sleep order*/, 3/*PPU FNID and module*/)
SERIALIZATION_VER(spu, 2, 1)
SERIALIZATION_VER(lv2_sync, 3, 1)