From 59c7bb5df1c6109c9f270a1e615f3351b4e6e7ab Mon Sep 17 00:00:00 2001 From: Squarepusher Date: Tue, 4 Sep 2012 01:19:03 +0300 Subject: [PATCH 1/2] Add iso/ISO extensions --- libretro/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 1fe05ce..8957e79 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -699,7 +699,7 @@ void retro_get_system_info(struct retro_system_info *info) { info->library_name = "Genesis Plus GX"; info->library_version = "v1.7.0"; - info->valid_extensions = "md|smd|bin|cue|gen|zip|MD|SMD|bin|CUE|GEN|ZIP|sms|SMS|gg|GG|sg|SG"; + info->valid_extensions = "md|smd|bin|cue|gen|zip|MD|SMD|bin|iso|ISO|CUE|GEN|ZIP|sms|SMS|gg|GG|sg|SG"; info->block_extract = false; info->need_fullpath = true; } From a0b61cbeb107940ae11f3c6a768f2821c5b6ad5e Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Mon, 10 Sep 2012 04:46:54 +0200 Subject: [PATCH 2/2] (Android) library links now --- libretro/jni/Android.mk | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libretro/jni/Android.mk b/libretro/jni/Android.mk index 600a6c0..16b8983 100644 --- a/libretro/jni/Android.mk +++ b/libretro/jni/Android.mk @@ -2,10 +2,10 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -GENPLUS_SRC_DIR := ../src -LIBRETRO_DIR := ../libretro +GENPLUS_SRC_DIR := ../../source +LIBRETRO_DIR := ../ -LOCAL_MODULE := libretro +LOCAL_MODULE := retro LOCAL_SRC_FILES := $(GENPLUS_SRC_DIR)/genesis.c \ $(GENPLUS_SRC_DIR)/vdp_ctrl.c \ $(GENPLUS_SRC_DIR)/vdp_render.c \ @@ -26,6 +26,12 @@ LOCAL_SRC_FILES := $(GENPLUS_SRC_DIR)/genesis.c \ $(GENPLUS_SRC_DIR)/input_hw/teamplayer.c \ $(GENPLUS_SRC_DIR)/input_hw/xe_a1p.c \ $(GENPLUS_SRC_DIR)/input_hw/terebi_oekaki.c \ + $(GENPLUS_SRC_DIR)/cd_hw/cd_cart.c \ + $(GENPLUS_SRC_DIR)/cd_hw/cdc.c \ + $(GENPLUS_SRC_DIR)/cd_hw/cdd.c \ + $(GENPLUS_SRC_DIR)/cd_hw/gfx.c \ + $(GENPLUS_SRC_DIR)/cd_hw/pcm.c \ + $(GENPLUS_SRC_DIR)/cd_hw/scd.c \ $(GENPLUS_SRC_DIR)/cart_hw/areplay.c \ $(GENPLUS_SRC_DIR)/cart_hw/md_cart.c \ $(GENPLUS_SRC_DIR)/cart_hw/sms_cart.c \ @@ -46,11 +52,14 @@ LOCAL_SRC_FILES := $(GENPLUS_SRC_DIR)/genesis.c \ $(GENPLUS_SRC_DIR)/sound/blip.c \ $(GENPLUS_SRC_DIR)/z80/z80.c \ $(GENPLUS_SRC_DIR)/m68k/m68kcpu.c \ - $(LIBRETRO_DIR)/libretro.c + $(GENPLUS_SRC_DIR)/m68k/s68kcpu.c \ + $(LIBRETRO_DIR)/libretro.c \ + $(LIBRETRO_DIR)/scrc32.c LOCAL_C_INCLUDES = $(LOCAL_PATH)/$(GENPLUS_SRC_DIR) \ $(LOCAL_PATH)/$(GENPLUS_SRC_DIR)/sound \ $(LOCAL_PATH)/$(GENPLUS_SRC_DIR)/input_hw \ + $(LOCAL_PATH)/$(GENPLUS_SRC_DIR)/cd_hw \ $(LOCAL_PATH)/$(GENPLUS_SRC_DIR)/cart_hw \ $(LOCAL_PATH)/$(GENPLUS_SRC_DIR)/cart_hw/svp \ $(LOCAL_PATH)/$(GENPLUS_SRC_DIR)/m68k \ @@ -58,5 +67,6 @@ LOCAL_C_INCLUDES = $(LOCAL_PATH)/$(GENPLUS_SRC_DIR) \ $(LOCAL_PATH)/$(GENPLUS_SRC_DIR)/ntsc \ $(LOCAL_PATH)/$(LIBRETRO_DIR) -LOCAL_CFLAGS = -DINLINE=inline -DUSE_15BPP_RENDERING -DLSB_FIRST -D__LIBRETRO__ +LOCAL_CFLAGS = -DINLINE="static inline" -DUSE_15BPP_RENDERING -DLSB_FIRST -D__LIBRETRO__ + include $(BUILD_SHARED_LIBRARY)