Suppress unnecessary GTK messages (#1267)

This commit is contained in:
capitalistspz 2024-07-23 21:18:55 +01:00 committed by GitHub
parent a1c1a608d7
commit e65abf4898
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -235,6 +235,9 @@ void CemuApp::InitializeExistingMLCOrFail(fs::path mlc)
bool CemuApp::OnInit()
{
#if __WXGTK__
GTKSuppressDiagnostics(G_LOG_LEVEL_MASK & ~G_LOG_FLAG_FATAL);
#endif
std::set<fs::path> failedWriteAccess;
DeterminePaths(failedWriteAccess);
// make sure default cemu directories exist