mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-13 09:12:27 +01:00
citra_qt: emu_dir_exists
--> emu_user_dir_exists
This commit is contained in:
parent
cee3c8ad31
commit
216bed1372
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user