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>
This commit is contained in:
parent
38f658d21e
commit
a949ee0410
4 changed files with 25 additions and 22 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue