mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-30 23:09:52 +02:00
Remove hardcoded version from libretro.c, use version from the Makefile
This commit is contained in:
1
Makefile
1
Makefile
@@ -18,6 +18,7 @@ MAKECMDGOALS := $(DEFAULT)
|
||||
endif
|
||||
|
||||
VERSION := 0.9
|
||||
export VERSION
|
||||
CONF ?= debug
|
||||
|
||||
BIN := build/bin
|
||||
|
@@ -6,6 +6,8 @@ ifneq ($(GIT_VERSION)," unknown")
|
||||
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
CFLAGS += -DSAMEBOY_CORE_VERSION=\"$(VERSION)\"
|
||||
|
||||
ifeq ($(platform),)
|
||||
platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
|
@@ -14,8 +14,6 @@
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#define SAMEBOY_CORE_VERSION "0.9"
|
||||
|
||||
#include <Core/gb.h>
|
||||
#include "libretro.h"
|
||||
|
||||
|
Reference in New Issue
Block a user