mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Move unspecific Emulator code out of System.cpp
This commit is contained in:
parent
4c2a11b6d0
commit
1caf81811a
38 changed files with 729 additions and 652 deletions
|
@ -51,6 +51,7 @@ DYNAMIC_IMPORT("ntdll.dll", NtSetTimerResolution, NTSTATUS(ULONG DesiredResoluti
|
|||
#include "Utilities/StrUtil.h"
|
||||
#include "rpcs3_version.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/system_utils.hpp"
|
||||
#include <thread>
|
||||
#include <charconv>
|
||||
|
||||
|
@ -743,7 +744,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
active_user = parser.value(arg_user_id).toStdString();
|
||||
|
||||
if (Emulator::CheckUsr(active_user) == 0)
|
||||
if (rpcs3::utils::check_user(active_user) == 0)
|
||||
{
|
||||
report_fatal_error(fmt::format("Failed to set user ID '%s'.\nThe user ID must consist of 8 digits and cannot be 00000000.", active_user));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue