diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-29 14:17:23 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-29 14:17:23 +0200 |
commit | 38914493e5aafa7fb3b7562fe05f9e31d07e429a (patch) | |
tree | 39421f4b47955f684e672e803c415b936a938aa7 /src | |
parent | ba8d547dfa81539f4e8474152d92e866ad89241b (diff) |
make myself at home
Diffstat (limited to 'src')
-rw-r--r-- | src/Wifi.cpp | 2 | ||||
-rw-r--r-- | src/frontend/qt_sdl/Platform.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Wifi.cpp b/src/Wifi.cpp index d8f440b..7d560a5 100644 --- a/src/Wifi.cpp +++ b/src/Wifi.cpp @@ -2476,4 +2476,4 @@ const u8* Wifi::GetBSSID() const return (u8*)&IOPORT(W_BSSID0); } -}
\ No newline at end of file +} diff --git a/src/frontend/qt_sdl/Platform.cpp b/src/frontend/qt_sdl/Platform.cpp index b3230a4..d0272a0 100644 --- a/src/frontend/qt_sdl/Platform.cpp +++ b/src/frontend/qt_sdl/Platform.cpp @@ -453,6 +453,9 @@ u64 FileLength(FileHandle* file) void Log(LogLevel level, const char* fmt, ...) { + // disable noisy log messages + if (level == LogLevel::Debug) return; + if (fmt == nullptr) return; |