Follow convention and break in default case

This commit is contained in:
Ian Chamberlain 2022-08-23 08:22:17 -04:00
parent 401336c5e7
commit 24b54a9b01
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
1 changed files with 2 additions and 0 deletions

View File

@ -393,6 +393,7 @@ int main(int argc, char** argv) {
break; // Expected case
default:
LOG_ERROR(Frontend, "Error while loading ROM: {}", system.GetStatusDetails());
break;
}
system.TelemetrySession().AddField(Common::Telemetry::FieldType::App, "Frontend", "SDL");
@ -449,6 +450,7 @@ int main(int argc, char** argv) {
break;
default:
LOG_ERROR(Frontend, "Error in main run loop: {}", result, system.GetStatusDetails());
break;
}
}
render_thread.join();