remove COMPILE_VERSION
This commit is contained in:
parent
3e78821d4a
commit
d27fc78f53
3 changed files with 2 additions and 6 deletions
3
Makefile
3
Makefile
|
@ -6,13 +6,12 @@ GUI ?= x11
|
|||
VERSION_MAJOR = 0
|
||||
VERSION_MINOR = 12
|
||||
PATCHLEVEL = 1
|
||||
COMPILE_VERSION = 0
|
||||
|
||||
MAKEFLAGS +=-j$(NUM_CORES) -l$(NUM_CORES)
|
||||
|
||||
CC = gcc
|
||||
|
||||
CFLAGS = -g -O2 -I./src/ -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DPATCHLEVEL=$(PATCHLEVEL) -DCOMPILE_VERSION=$(COMPILE_VERSION)
|
||||
CFLAGS = -g -O2 -I./src/ -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DPATCHLEVEL=$(PATCHLEVEL)
|
||||
LIBS = -lm
|
||||
|
||||
ifeq ($(GUI), x11)
|
||||
|
|
|
@ -153,7 +153,7 @@ typedef struct mem_cntl_t {
|
|||
|
||||
typedef struct saturn_t {
|
||||
unsigned long magic;
|
||||
char version[ 4 ];
|
||||
char version[ 3 ];
|
||||
|
||||
unsigned char A[ 16 ], B[ 16 ], C[ 16 ], D[ 16 ];
|
||||
|
||||
|
|
|
@ -55,7 +55,6 @@ void saturn_config_init( void ) {
|
|||
saturn.version[ 0 ] = VERSION_MAJOR;
|
||||
saturn.version[ 1 ] = VERSION_MINOR;
|
||||
saturn.version[ 2 ] = PATCHLEVEL;
|
||||
saturn.version[ 3 ] = COMPILE_VERSION;
|
||||
memset( &device, 0, sizeof( device ) );
|
||||
device.display_touched = 1;
|
||||
device.contrast_touched = 1;
|
||||
|
@ -78,7 +77,6 @@ void init_saturn( void ) {
|
|||
saturn.version[ 0 ] = VERSION_MAJOR;
|
||||
saturn.version[ 1 ] = VERSION_MINOR;
|
||||
saturn.version[ 2 ] = PATCHLEVEL;
|
||||
saturn.version[ 3 ] = COMPILE_VERSION;
|
||||
saturn.hexmode = HEX;
|
||||
saturn.rstkp = -1;
|
||||
saturn.intenable = 1;
|
||||
|
@ -542,7 +540,6 @@ int read_files( void ) {
|
|||
v2 = ( ( int )VERSION_MAJOR & 0xff ) << 24;
|
||||
v2 |= ( ( int )VERSION_MINOR & 0xff ) << 16;
|
||||
v2 |= ( ( int )PATCHLEVEL & 0xff ) << 8;
|
||||
v2 |= ( ( int )COMPILE_VERSION & 0xff );
|
||||
|
||||
/*
|
||||
* try to read latest version file
|
||||
|
|
Loading…
Reference in a new issue