Skip to content

Commit

Permalink
Oh hey Curly was causing an address error in MazeM and Almond
Browse files Browse the repository at this point in the history
  • Loading branch information
andwn committed Mar 22, 2018
1 parent 9a7fbb5 commit fc7917a
Show file tree
Hide file tree
Showing 26 changed files with 459 additions and 1,812 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Z80S = $(wildcard src/xgm/*.s80)
CS = $(wildcard src/*.c)
CS += $(wildcard src/ai/*.c)
CS += $(wildcard src/db/*.c)
CS += $(wildcard src/xgm/*.c)
SS = $(wildcard src/*.s)
SS += $(wildcard src/xgm/*.s)
OBJS = $(RESS:.res=.o)
Expand Down
24 changes: 22 additions & 2 deletions inc/common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
#include <stdint.h>
#define FALSE 0
#define TRUE 1
#define NULL 0

typedef signed char int8_t;
typedef signed short int16_t;
typedef signed long int32_t;

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;

// SGDK Compatibility

typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;

typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;

//#define PROFILE_BG
#ifdef PROFILE_BG
Expand All @@ -12,7 +32,7 @@

#define MUSIC_TICK() ({ \
if(vblank) { \
XGM_doVBlankProcess(); \
xgm_vblank(); \
vblank = 0; \
} \
})
Expand Down
130 changes: 0 additions & 130 deletions inc/psg.h

This file was deleted.

1 change: 0 additions & 1 deletion inc/smp_null.h

This file was deleted.

21 changes: 0 additions & 21 deletions inc/stdint.h

This file was deleted.

1 change: 0 additions & 1 deletion inc/tab_vol.h

This file was deleted.

Loading

0 comments on commit fc7917a

Please sign in to comment.