mirror of
https://github.com/libretro/libretro-atari800.git
synced 2025-02-17 05:07:32 +00:00
add git hash to library_version
This commit is contained in:
parent
bd1db4eff9
commit
611eba91a6
4
Makefile
4
Makefile
@ -1,4 +1,8 @@
|
||||
TARGET_NAME := atari800
|
||||
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
|
||||
ifneq ($(GIT_VERSION)," unknown")
|
||||
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
DEBUG = 0
|
||||
LOG_PERFORMANCE = 1
|
||||
|
@ -1,4 +1,5 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
GIT_VERSION := " $(shell git rev-parse --short HEAD)"
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
|
@ -362,7 +362,7 @@ void retro_get_system_info(struct retro_system_info *info)
|
||||
{
|
||||
memset(info, 0, sizeof(*info));
|
||||
info->library_name = "Atari800";
|
||||
info->library_version = "3.1.0";
|
||||
info->library_version = "3.1.0" GIT_VERSION;
|
||||
info->valid_extensions = "xfd|atr|cdm|cas|bin|a52|zip";
|
||||
info->need_fullpath = true;
|
||||
info->block_extract = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user