mirror of https://github.com/mgba-emu/mgba.git
Libretro: Disable logging game errors, BIOS calls and stubs in release builds
This commit is contained in:
parent
3c45983d10
commit
2bfd721ea7
2
CHANGES
2
CHANGES
|
@ -28,6 +28,8 @@ Misc:
|
|||
- 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:
|
||||
|
|
|
@ -451,13 +451,19 @@ void GBARetroLog(struct GBAThread* thread, enum GBALogLevel level, const char* f
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue