diff --git a/.gitignore b/.gitignore index f483ccc30b..0c2ecdafe2 100644 --- a/.gitignore +++ b/.gitignore @@ -46,6 +46,6 @@ profile DerivedData .idea/ *.hmap -ios/tmp -ios/modules/*.dylib -ios/*.mobileprovision +apple/tmp +apple/modules/*.dylib +apple/*.mobileprovision diff --git a/Makefile b/Makefile index 80aad3fa87..af0873898a 100644 --- a/Makefile +++ b/Makefile @@ -183,10 +183,6 @@ ifeq ($(HAVE_SDL), 1) JOYCONFIG_OBJ += input/sdl_joypad.o DEFINES += $(SDL_CFLAGS) $(BSD_LOCAL_INC) LIBS += $(SDL_LIBS) - - ifeq ($(HAVE_OPENGL), 1) - OBJ += gfx/context/sdl_ctx.o - endif endif ifeq ($(HAVE_OPENGL), 1) diff --git a/Makefile.win b/Makefile.win index 00d3bbce92..0c5f24d416 100644 --- a/Makefile.win +++ b/Makefile.win @@ -100,7 +100,7 @@ ifeq ($(HAVE_RGUI), 1) endif ifeq ($(HAVE_SDL), 1) - OBJ += gfx/sdl_gfx.o gfx/context/sdl_ctx.o input/sdl_input.o input/sdl_joypad.o audio/sdl_audio.o + OBJ += gfx/sdl_gfx.o input/sdl_input.o input/sdl_joypad.o audio/sdl_audio.o JOBJ += input/sdl_joypad.o LIBS += -lSDL JLIBS += -lSDL diff --git a/android/andretro/AndroidManifest.xml b/android/andretro/AndroidManifest.xml new file mode 100644 index 0000000000..511aa4034c --- /dev/null +++ b/android/andretro/AndroidManifest.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android/andretro/README b/android/andretro/README new file mode 100644 index 0000000000..b060895c53 --- /dev/null +++ b/android/andretro/README @@ -0,0 +1,6 @@ +Building: + +* Put any compiled module libraries in Andretro/jni/modules, the file must be named like libretro_{MODNAME}.so. +* Ensure a matching libretro_{MODNAME}.so.xml exists in the Andretro/assets directory. The xml file contains basic information used by the file browser before the .so itself is loaded. +* In the Andretro directory, run the ndk-build script supplied with the Android NDK. +* In the Andretro directory, run 'ant debug install' to install to the device. The java code can alternatively be built with the included eclipse project. diff --git a/android/andretro/ant.properties b/android/andretro/ant.properties new file mode 100644 index 0000000000..b0971e891e --- /dev/null +++ b/android/andretro/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/android/andretro/assets/libretro_fceu-next.so.xml b/android/andretro/assets/libretro_fceu-next.so.xml new file mode 100644 index 0000000000..7c220b7e50 --- /dev/null +++ b/android/andretro/assets/libretro_fceu-next.so.xml @@ -0,0 +1,19 @@ + + + + + + + +