summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-12-05 15:59:11 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-12-05 15:59:11 +0000
commitf169def36f5dcba69b7ce7e382ea1230d03f5433 (patch)
treee49f0bc3bebc73f0be31fdbda150439f5f8a0a67 /Source/Core/DiscIO/Src/BannerLoaderGC.cpp
parente5311460a9324bd69b49cd9879755526a869ee83 (diff)
First pass at dealing with different size_t/off_t sizes in C90 environments.
Most of the code dealing with the LogTypes namespace was C which lead to a lot of nonsensical casting, so I have dumbed LOG_TYPE and LOG_LEVEL down to plain C even though the move of wiiuse into Source means we don't currently call GenericLog from C. Set logging threshold to MAX_LOGLEVEL at startup so debug builds will also p rint debugging messages before the GUI is running. For some reason the way we use SetDefaultStyle doesn't play nice with wx 2.9 so we just get the default black text on a black background. Using a gray background works around that problem, but I found it to also be much easier on the eyes so I have switched the background color on all versions. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6528 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/BannerLoaderGC.cpp')
-rw-r--r--Source/Core/DiscIO/Src/BannerLoaderGC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
index 54c681c43a..d8b8917795 100644
--- a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
+++ b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
@@ -44,7 +44,7 @@ CBannerLoaderGC::CBannerLoaderGC(DiscIO::IFileSystem& _rFileSystem)
else m_IsValid = true;
}
}
- else WARN_LOG(DISCIO, "Invalid opening.bnr size: %0x", FileSize);
+ else WARN_LOG(DISCIO, "Invalid opening.bnr size: %0lx", FileSize);
}