[Codacy] Fixed some issues found by codacy.

Added skipping shaders directory in scan
This commit is contained in:
Gliniak
2024-01-20 13:19:37 +01:00
parent 18b5a6706a
commit c8ca077ec4
8 changed files with 8 additions and 10 deletions

View File

@@ -1613,8 +1613,8 @@ void EmulatorWindow::LoadRecentlyLaunchedTitles() {
try {
cpptoml::parser p(file);
parsed_file = p.parse();
} catch (cpptoml::parse_exception exception) {
// TODO(Gliniak): Better handling of errors, but good enough for now.
} catch (cpptoml::parse_exception& exception) {
XELOGE("Cannot parse file: recent.toml. Error: {}", exception.what());
return;
}