From 5737367536f46511ef5d2ba36bb04840a4de1cc0 Mon Sep 17 00:00:00 2001 From: hunterk Date: Tue, 10 Oct 2017 14:43:11 -0500 Subject: [PATCH] move HAVE_YM3438 define out to LIBRETRO_CFLAGS --- Makefile.libretro | 3 ++- libretro/osd.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index b887095..312024b 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -441,7 +441,8 @@ LIBRETRO_CFLAGS += $(BPP_DEFINES) \ $(PLATFORM_DEFINES) \ -D__LIBRETRO__ \ -DM68K_OVERCLOCK_SHIFT=20 \ - -DZ80_OVERCLOCK_SHIFT=20 + -DZ80_OVERCLOCK_SHIFT=20 \ + -DHAVE_YM3438_CORE ifneq (,$(findstring msvc,$(platform))) LIBRETRO_CFLAGS += -DINLINE="static _inline" diff --git a/libretro/osd.h b/libretro/osd.h index f895d8b..02b43ce 100644 --- a/libretro/osd.h +++ b/libretro/osd.h @@ -74,8 +74,6 @@ typedef unsigned char bool; #define CHEATS_UPDATE() ROMCheatUpdate() -#define HAVE_YM3438_CORE - #define HAVE_NO_SPRITE_LIMIT #define MAX_SPRITES_PER_LINE 80 #define TMS_MAX_SPRITES_PER_LINE (config.no_sprite_limit ? MAX_SPRITES_PER_LINE : 4)