mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
SDL UI, fix SDL input and SDL window output mode for osx compile
NB for osx >= 10.14 you need SDL >= rev 13688 (ATM only available from SDL repo)
This commit is contained in:
parent
b74303b1a7
commit
1f49b75032
5 changed files with 19 additions and 7 deletions
|
@ -10,6 +10,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#ifdef USE_SDL
|
||||
#include <SDL.h>
|
||||
#endif
|
||||
|
||||
#include "../libpicofe/input.h"
|
||||
#include "../libpicofe/plat.h"
|
||||
|
@ -83,12 +86,12 @@ int main(int argc, char *argv[])
|
|||
|
||||
plat_target_init();
|
||||
plat_init();
|
||||
menu_init();
|
||||
|
||||
emu_prep_defconfig(); // depends on input
|
||||
emu_read_config(NULL, 0);
|
||||
|
||||
emu_init();
|
||||
menu_init();
|
||||
|
||||
#ifdef GPERF
|
||||
ProfilerStart("gperf.out");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue