summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2021-07-08 14:07:10 -0400
committerGravatar lat9nq2021-07-08 14:07:10 -0400
commita949ee0410fcce9144806d7b64e9ae4bffd4fee9 (patch)
tree77b3e9dd5d6c9db26e26612355285345298d6e50 /src/core/core.cpp
parentconfig: Read UISettings as basic settings (diff)
downloadyuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar.gz
yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.tar.xz
yuzu-a949ee0410fcce9144806d7b64e9ae4bffd4fee9.zip
general: Code formatting improvements
Slight improvements to readability. Dropped suggestions for string_view (settings.h:101), pass by value (settings.h:82), reverting double to a float (config.cpp:316), and other smaller ones, some out of scope. Addresses review feedback. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
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 {
264 if (Settings::values.gamecard_current_game) { 264 if (Settings::values.gamecard_current_game) {
265 fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, filepath)); 265 fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, filepath));
266 } else if (!Settings::values.gamecard_path.GetValue().empty()) { 266 } else if (!Settings::values.gamecard_path.GetValue().empty()) {
267 fs_controller.SetGameCard(GetGameFileFromPath( 267 const auto gamecard_path = Settings::values.gamecard_path.GetValue();
268 virtual_filesystem, static_cast<std::string>(Settings::values.gamecard_path))); 268 fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, gamecard_path));
269 } 269 }
270 } 270 }
271 271