mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
IdManager improved
This commit is contained in:
parent
6c189511af
commit
591a6c8671
43 changed files with 408 additions and 307 deletions
|
@ -16,7 +16,11 @@ logs::channel sceNpTrophy("sceNpTrophy", logs::level::notice);
|
|||
|
||||
struct trophy_context_t
|
||||
{
|
||||
const id_value<> id{};
|
||||
static const u32 id_base = 1;
|
||||
static const u32 id_step = 1;
|
||||
static const u32 id_count = 32767;
|
||||
|
||||
const u32 id = idm::last_id();
|
||||
|
||||
std::string trp_name;
|
||||
fs::file trp_stream;
|
||||
|
@ -25,7 +29,11 @@ struct trophy_context_t
|
|||
|
||||
struct trophy_handle_t
|
||||
{
|
||||
const id_value<> id{};
|
||||
static const u32 id_base = 1;
|
||||
static const u32 id_step = 1;
|
||||
static const u32 id_count = 32767;
|
||||
|
||||
const u32 id = idm::last_id();
|
||||
};
|
||||
|
||||
// Functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue