aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2015-09-21 06:26:11 +0100
committeraliaspider2015-09-21 06:26:11 +0100
commite9676240dbfb9a86747fc2d00a56c184b80686a8 (patch)
treeaee4b7d5b83e68b52eb1f4384620bc77a8d6ec8a
parent8f0b31757a59fca623ed403c26b1529387588d4b (diff)
downloadsnes9x2005-e9676240dbfb9a86747fc2d00a56c184b80686a8.tar.gz
snes9x2005-e9676240dbfb9a86747fc2d00a56c184b80686a8.tar.bz2
snes9x2005-e9676240dbfb9a86747fc2d00a56c184b80686a8.zip
change library name when compiled with USE_BLARGG_APU=1
-rw-r--r--Makefile5
-rw-r--r--libretro.c4
2 files changed, 9 insertions, 0 deletions
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;
}