mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-31 18:02:04 +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
|
endif
|
||||||
|
|
||||||
VERSION := 0.9
|
VERSION := 0.9
|
||||||
|
export VERSION
|
||||||
CONF ?= debug
|
CONF ?= debug
|
||||||
|
|
||||||
BIN := build/bin
|
BIN := build/bin
|
||||||
|
@@ -6,6 +6,8 @@ ifneq ($(GIT_VERSION)," unknown")
|
|||||||
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CFLAGS += -DSAMEBOY_CORE_VERSION=\"$(VERSION)\"
|
||||||
|
|
||||||
ifeq ($(platform),)
|
ifeq ($(platform),)
|
||||||
platform = unix
|
platform = unix
|
||||||
ifeq ($(shell uname -a),)
|
ifeq ($(shell uname -a),)
|
||||||
|
@@ -14,8 +14,6 @@
|
|||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SAMEBOY_CORE_VERSION "0.9"
|
|
||||||
|
|
||||||
#include <Core/gb.h>
|
#include <Core/gb.h>
|
||||||
#include "libretro.h"
|
#include "libretro.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user