mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Set a unique System Name
This commit is contained in:
parent
e48ec75896
commit
e0d6f8a311
3 changed files with 10 additions and 0 deletions
|
|
@ -10,3 +10,9 @@ bool cfg_root::node_core::enable_tsx_by_default()
|
|||
{
|
||||
return utils::has_rtm() && utils::has_mpx() && !utils::has_tsx_force_abort();
|
||||
}
|
||||
|
||||
std::string cfg_root::node_sys::get_random_system_name()
|
||||
{
|
||||
std::srand(std::time(nullptr));
|
||||
return "RPCS3-" + std::to_string(100 + std::rand() % 899);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue