|
|
@ -92,7 +92,6 @@ int main(int argc, char** argv) {
|
|
|
|
|
|
|
|
|
|
|
|
int option_index = 0;
|
|
|
|
int option_index = 0;
|
|
|
|
|
|
|
|
|
|
|
|
char* endarg;
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#ifdef _WIN32
|
|
|
|
int argc_w;
|
|
|
|
int argc_w;
|
|
|
|
auto argv_w = CommandLineToArgvW(GetCommandLineW(), &argc_w);
|
|
|
|
auto argv_w = CommandLineToArgvW(GetCommandLineW(), &argc_w);
|
|
|
@ -226,7 +225,7 @@ int main(int argc, char** argv) {
|
|
|
|
|
|
|
|
|
|
|
|
switch (load_result) {
|
|
|
|
switch (load_result) {
|
|
|
|
case Core::System::ResultStatus::ErrorGetLoader:
|
|
|
|
case Core::System::ResultStatus::ErrorGetLoader:
|
|
|
|
LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filepath.c_str());
|
|
|
|
LOG_CRITICAL(Frontend, "Failed to obtain loader for {}!", filepath);
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
case Core::System::ResultStatus::ErrorLoader:
|
|
|
|
case Core::System::ResultStatus::ErrorLoader:
|
|
|
|
LOG_CRITICAL(Frontend, "Failed to load ROM!");
|
|
|
|
LOG_CRITICAL(Frontend, "Failed to load ROM!");
|
|
|
|