all repos — mgba @ 2bfd721ea7a56026ae603ede60f852cd9aab0a24

mGBA Game Boy Advance Emulator

Libretro: Disable logging game errors, BIOS calls and stubs in release builds
Jeffrey Pfau jeffrey@endrift.com
Sun, 08 May 2016 12:33:55 -0700
commit

2bfd721ea7a56026ae603ede60f852cd9aab0a24

parent

3c45983d104b34465f5414110ced80c39538cf4a

2 files changed, 10 insertions(+), 2 deletions(-)

jump to
M CHANGESCHANGES

@@ -28,6 +28,8 @@ - Qt: Update 360 input profile on OS X to reflect newer drivers

- Qt: Remove use of NaN - FFmpeg: Update dependencies on Ubuntu - All: Allow use of external minizip library + - GBA Video: Null renderer should return proper register values + - Libretro: Disable logging game errors, BIOS calls and stubs in release builds 0.4.0: (2016-02-02) Features:
M src/platform/libretro/libretro.csrc/platform/libretro/libretro.c

@@ -451,13 +451,19 @@ retroLevel = RETRO_LOG_WARN;

break; case GBA_LOG_INFO: case GBA_LOG_GAME_ERROR: - case GBA_LOG_SWI: case GBA_LOG_STATUS: retroLevel = RETRO_LOG_INFO; break; - case GBA_LOG_DEBUG: + case GBA_LOG_SWI: case GBA_LOG_STUB: case GBA_LOG_SIO: +#ifdef NDEBUG + return; +#else + retroLevel = RETRO_LOG_DEBUG; + break; +#endif + case GBA_LOG_DEBUG: retroLevel = RETRO_LOG_DEBUG; break; }