diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-07-08 20:46:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 20:46:31 +0200 |
commit | 5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7 (patch) | |
tree | bd1e570a3f0594557e28516b0974aa07f67ad616 /src/core/core.cpp | |
parent | Out of bound blit (#6531) (diff) | |
parent | general: Code formatting improvements (diff) | |
download | yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.gz yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.bz2 yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.lz yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.xz yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.tar.zst yuzu-5edc96f4a47bff64cfd97f0c91e42b56ab58b2d7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index e6f1aa0e7..891f1cb49 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -263,9 +263,9 @@ struct System::Impl { if (Settings::values.gamecard_inserted) { if (Settings::values.gamecard_current_game) { fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, filepath)); - } else if (!Settings::values.gamecard_path.empty()) { - fs_controller.SetGameCard( - GetGameFileFromPath(virtual_filesystem, Settings::values.gamecard_path)); + } else if (!Settings::values.gamecard_path.GetValue().empty()) { + const auto gamecard_path = Settings::values.gamecard_path.GetValue(); + fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, gamecard_path)); } } |