citra_qt: emu_dir_exists --> emu_user_dir_exists

This commit is contained in:
OpenSauce04 2025-03-09 11:04:59 +00:00
parent cee3c8ad31
commit 216bed1372
2 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ void GMainWindow::ShowCommandOutput(std::string title, std::string message) {
GMainWindow::GMainWindow(Core::System& system_)
: ui{std::make_unique<Ui::MainWindow>()}, system{system_}, movie{system.Movie()},
emu_dir_exists{
emu_user_dir_exists{
std::filesystem::is_directory(FileUtil::GetUserPath(FileUtil::UserPath::UserDir))},
config{std::make_unique<QtConfig>()}, emu_thread{nullptr} {
Common::Log::Initialize();
@ -310,7 +310,7 @@ GMainWindow::GMainWindow(Core::System& system_)
}
// Check if data migration from Citra/Lime3DS needs to be performed
if (!emu_dir_exists) {
if (!emu_user_dir_exists) {
ShowMigrationPrompt();
}

View File

@ -360,7 +360,7 @@ private:
// Created before `config` to ensure that emu data directory
// isn't created before the check is performed
bool emu_dir_exists;
bool emu_user_dir_exists;
std::unique_ptr<QtConfig> config;
// Whether emulation is currently running in Citra.