diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 20:07:10 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 20:07:10 +0200 |
commit | a949ee0410fcce9144806d7b64e9ae4bffd4fee9 (patch) | |
tree | 77b3e9dd5d6c9db26e26612355285345298d6e50 /src/core | |
parent | config: Read UISettings as basic settings (diff) | |
download | yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar.gz yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar.bz2 yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar.lz yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar.xz yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar.zst yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index fc6ec9512..891f1cb49 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -264,8 +264,8 @@ struct System::Impl { if (Settings::values.gamecard_current_game) { fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, filepath)); } else if (!Settings::values.gamecard_path.GetValue().empty()) { - fs_controller.SetGameCard(GetGameFileFromPath( - virtual_filesystem, static_cast<std::string>(Settings::values.gamecard_path))); + const auto gamecard_path = Settings::values.gamecard_path.GetValue(); + fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, gamecard_path)); } } |