Merge pull request #68 from Zarh/master

Fix issues with PS3 build
This commit is contained in:
Twinaphex 2017-08-18 22:08:25 +02:00 committed by GitHub
commit 7c1ae3965a
3 changed files with 4 additions and 2 deletions

View File

@ -164,7 +164,7 @@ else ifneq (,$(filter $(platform), ps3 sncps3 psl1ght))
TARGET := $(TARGET_NAME)_libretro_ps3.a
PLATFORM_DEFINES := -D__CELLOS_LV2__
STATIC_LINKING = 1
DEFINES += -std=c99
DEFINES += -std=c99 -fms-extensions
HAVE_VFS_FD = 0
# sncps3

View File

@ -70,7 +70,7 @@ void mLog(int category, enum mLogLevel level, const char* format, ...) {
va_start(args, format);
if (context) {
if (!context->filter || mLogFilterTest(context->filter, category, level)) {
context->log(context, category, level, format, args);
(context->log)(context, category, level, format, args);
}
} else {
printf("%s: ", mLogCategoryName(category));

View File

@ -10,7 +10,9 @@
#include <mgba-util/patch.h>
#include <mgba-util/vfs.h>
#ifdef USE_PTHREADS
#include <signal.h>
#endif
#ifndef DISABLE_THREADING