Update GB_VERSION

This commit is contained in:
ds22x 2021-12-14 01:56:44 +01:00
parent 44d97b17d0
commit eff06b406f
2 changed files with 2 additions and 1 deletions

View File

@ -453,6 +453,7 @@ LDFLAGS += $(fpic) $(SHARED)
FLAGS += $(fpic) $(NEW_GCC_FLAGS) $(INCFLAGS)
FLAGS += $(ENDIANNESS_DEFINES) $(WARNINGS) $(CORE_DEFINE) -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -DSFC_LAGFIX -DGB_INTERNAL -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS $(EXTRA_INCLUDES) $(SOUND_DEFINE)
FLAGS += -DGB_VERSION=\"0.14.7\"
CXXFLAGS += -std=c++17 $(FLAGS)
CFLAGS += $(FLAGS)

View File

@ -4,7 +4,7 @@ SRCDIR := $(LOCAL_PATH)/../../..
INCFLAGS := -I$(SRCDIR) -I$(SRCDIR)/bsnes
COREFLAGS := -fomit-frame-pointer -ffast-math -D__LIBRETRO__ $(INCFLAGS)
COREFLAGS += -DGB_INTERNAL -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DPLATFORM_ANDROID -DGB_VERSION=\"0.14.4\"
COREFLAGS += -DGB_INTERNAL -DGB_DISABLE_DEBUGGER -DGB_DISABLE_CHEATS -DPLATFORM_ANDROID -DGB_VERSION=\"0.14.7\"
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")