mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix DISABLE_THREADING build
This commit is contained in:
parent
85704820fb
commit
d945391da6
1
CHANGES
1
CHANGES
|
@ -47,6 +47,7 @@ Misc:
|
||||||
- Qt: Optimize log viewer
|
- Qt: Optimize log viewer
|
||||||
- GBA RR: Starting from savestate now embeds the savegame
|
- GBA RR: Starting from savestate now embeds the savegame
|
||||||
- Libretro: Add install target for libretro core
|
- Libretro: Add install target for libretro core
|
||||||
|
- 3DS: Update to new ctrulib API
|
||||||
|
|
||||||
0.3.2: (2015-12-16)
|
0.3.2: (2015-12-16)
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
|
|
@ -22,7 +22,12 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef DISABLE_THREADING
|
#ifdef DISABLE_THREADING
|
||||||
|
#ifdef _3DS
|
||||||
|
// ctrulib already has a type called Thread
|
||||||
|
#include <3ds/thread.h>
|
||||||
|
#else
|
||||||
typedef void* Thread;
|
typedef void* Thread;
|
||||||
|
#endif
|
||||||
typedef void* Mutex;
|
typedef void* Mutex;
|
||||||
typedef void* Condition;
|
typedef void* Condition;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue