mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 00:14:56 +00:00
Savestates Support For PS3 Emulation (#10478)
This commit is contained in:
parent
969b9eb89d
commit
fcd297ffb2
154 changed files with 4948 additions and 635 deletions
|
|
@ -74,10 +74,32 @@ struct music_state
|
|||
std::shared_ptr<music_handler_base> handler;
|
||||
music_selection_context current_selection_context;
|
||||
|
||||
SAVESTATE_INIT_POS(16);
|
||||
|
||||
music_state()
|
||||
{
|
||||
handler = Emu.GetCallbacks().get_music_handler();
|
||||
}
|
||||
|
||||
music_state(utils::serial& ar)
|
||||
: music_state()
|
||||
{
|
||||
save(ar);
|
||||
}
|
||||
|
||||
void save(utils::serial& ar)
|
||||
{
|
||||
ar(func);
|
||||
|
||||
if (!func)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
USING_SERIALIZATION_VERSION_COND(ar.is_writing(), cellMusic);
|
||||
|
||||
ar(userData);
|
||||
}
|
||||
};
|
||||
|
||||
error_code cell_music_select_contents()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue