mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +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
|
|
@ -81,6 +81,8 @@ struct search_content_t
|
|||
CellSearchVideoListInfo video_list;
|
||||
CellSearchVideoSceneInfo scene;
|
||||
} data;
|
||||
|
||||
ENABLE_BITWISE_SERIALIZATION;
|
||||
};
|
||||
|
||||
using content_id_type = std::pair<u64, std::shared_ptr<search_content_t>>;
|
||||
|
|
@ -90,6 +92,8 @@ struct content_id_map
|
|||
std::unordered_map<u64, std::shared_ptr<search_content_t>> map;
|
||||
|
||||
shared_mutex mutex;
|
||||
|
||||
SAVESTATE_INIT_POS(36);
|
||||
};
|
||||
|
||||
struct search_object_t
|
||||
|
|
@ -98,6 +102,7 @@ struct search_object_t
|
|||
static const u32 id_base = 1;
|
||||
static const u32 id_step = 1;
|
||||
static const u32 id_count = 1024; // TODO
|
||||
SAVESTATE_INIT_POS(36.1);
|
||||
|
||||
std::vector<content_id_type> content_ids;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue