mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +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
|
|
@ -131,6 +131,25 @@ static const char* get_camera_attr_name(s32 value)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
camera_context::camera_context(utils::serial& ar)
|
||||
{
|
||||
save(ar);
|
||||
}
|
||||
|
||||
void camera_context::save(utils::serial& ar)
|
||||
{
|
||||
ar(init);
|
||||
|
||||
if (!init)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
USING_SERIALIZATION_VERSION_COND(ar.is_writing(), cellCamera);
|
||||
|
||||
ar(notify_data_map, start_timestamp, read_mode, is_streaming, is_attached, is_open, info, attr, frame_num);
|
||||
}
|
||||
|
||||
static bool check_dev_num(s32 dev_num)
|
||||
{
|
||||
return dev_num == 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue