mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 14:49:36 +02:00
Merge pull request #4 from hizzlekizzle/master
add git hash to library_version
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
TARGET_NAME := atari800
|
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
|
DEBUG = 0
|
||||||
LOG_PERFORMANCE = 1
|
LOG_PERFORMANCE = 1
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
GIT_VERSION := " $(shell git rev-parse --short HEAD)"
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
|||||||
@@ -362,7 +362,7 @@ void retro_get_system_info(struct retro_system_info *info)
|
|||||||
{
|
{
|
||||||
memset(info, 0, sizeof(*info));
|
memset(info, 0, sizeof(*info));
|
||||||
info->library_name = "Atari800";
|
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->valid_extensions = "xfd|atr|cdm|cas|bin|a52|zip";
|
||||||
info->need_fullpath = true;
|
info->need_fullpath = true;
|
||||||
info->block_extract = false;
|
info->block_extract = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user