Move unspecific Emulator code out of System.cpp

This commit is contained in:
Megamouse 2021-04-21 22:12:21 +02:00 committed by Ivan
parent 4c2a11b6d0
commit 1caf81811a
38 changed files with 729 additions and 652 deletions

View file

@ -1,7 +1,7 @@
#include "persistent_settings.h"
#include "util/logs.hpp"
#include "Emu/System.h"
#include "Emu/system_utils.hpp"
LOG_CHANNEL(cfg_log, "CFG");
@ -49,7 +49,7 @@ QString persistent_settings::GetCurrentUser(const QString& fallback) const
}
// Set user if valid
if (Emulator::CheckUsr(user.toStdString()) > 0)
if (rpcs3::utils::check_user(user.toStdString()) > 0)
{
return user;
}