all repos — mgba @ de3bc498c3b1c073a44daeb5d07c4fb1dbd623e3

mGBA Game Boy Advance Emulator

PSP2: Use custom localtime_r since newlib version is broken (fixes #560)
Vicki Pfau vi@endrift.com
Thu, 06 Jul 2017 12:37:10 -0700
commit

de3bc498c3b1c073a44daeb5d07c4fb1dbd623e3

parent

03728efc901f2e3aa6f35780351794ad3dc741a2

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -162,6 +162,7 @@ - Qt: Fix data directory path

- Qt: Fix controls not saving on non-SDL builds - GB Video: Fix LYC regression - Qt: Fix translation initialization (fixes mgba.io/i/776) + - PSP2: Use custom localtime_r since newlib version is broken (fixes mgba.io/i/560) Misc: - Qt: Add language selector - GBA Timer: Improve accuracy of timers
M CMakeLists.txtCMakeLists.txt

@@ -275,7 +275,9 @@

include(CheckFunctionExists) check_function_exists(strdup HAVE_STRDUP) check_function_exists(strndup HAVE_STRNDUP) -check_function_exists(localtime_r HAVE_LOCALTIME_R) +if(NOT DEFINED PSP2) + check_function_exists(localtime_r HAVE_LOCALTIME_R) +endif() if(NOT CMAKE_SYSTEM_NAME STREQUAL "Generic") check_function_exists(snprintf_l HAVE_SNPRINTF_L) if(CMAKE_SYSTEM_NAME STREQUAL "Linux")