mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Implement thread_ctrl::is_main()
This commit is contained in:
parent
55c75d2c87
commit
3609eb25c9
3 changed files with 10 additions and 0 deletions
|
@ -377,6 +377,8 @@ int main(int argc, char** argv)
|
|||
}
|
||||
#endif
|
||||
|
||||
ensure(thread_ctrl::is_main());
|
||||
|
||||
// Initialize TSC freq (in case it isn't)
|
||||
static_cast<void>(utils::get_tsc_freq());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue