From e9676240dbfb9a86747fc2d00a56c184b80686a8 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Mon, 21 Sep 2015 06:26:11 +0100 Subject: change library name when compiled with USE_BLARGG_APU=1 --- Makefile | 5 +++++ libretro.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 0fc4922..64d07b1 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,12 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),) system_platform = win endif +ifeq($(USE_BLARGG_APU), 1) +TARGET_NAME := catsfc_plus +else TARGET_NAME := catsfc +endif + DEFS := LIBM := -lm diff --git a/libretro.c b/libretro.c index 63831a0..9fe26f3 100644 --- a/libretro.c +++ b/libretro.c @@ -584,7 +584,11 @@ void retro_get_system_info(struct retro_system_info* info) #endif info->valid_extensions = "smc|fig|sfc|gd3|gd7|dx2|bsx|swc"; info->library_version = "v1.36"; +#ifdef USE_BLARGG_APU + info->library_name = "CATSFC Plus(SNES9x)"; +#else info->library_name = "CATSFC(SNES9x)"; +#endif info->block_extract = false; } -- cgit v1.2.3