mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Assorted warning fixes
This commit is contained in:
1 parent
4d98ff8404
commit
55eee26c52
5 files changed
+4
-12
No files matched your search
@@ -578,9 +578,7 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO
|
||||
// Apply parsed command line options to config.
|
||||
cmdLineOptions.ApplyToConfig();
|
||||
|
||||
bool gotBootFilename = false;
|
||||
boot_filename.clear();
|
||||
|
||||
if (boot_filename.empty() && cmdLineOptions.bootVSH.has_value() && cmdLineOptions.bootVSH.value()) {
|
||||
boot_filename = g_Config.flash0Directory / "vsh/module/vshmain.prx";
|
||||
}
|
||||
@@ -629,7 +627,6 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO
|
||||
// don't already have one.
|
||||
if (!cmdLineOptions.bootFilenames.empty()) {
|
||||
std::string bootFilename = cmdLineOptions.bootFilenames[0];
|
||||
gotBootFilename = true;
|
||||
INFO_LOG(Log::System, "Boot filename found in args: '%s'", bootFilename.c_str());
|
||||
|
||||
bool okToLoad = true;
|
||||
|
||||
Reference in new issue
Block a user