Fix for signed variables

This commit is contained in:
Francisco José García García 2019-12-27 00:45:24 +01:00
parent be6b2ebfea
commit 3c5c862efc

6
cz80.h
View File

@ -23,7 +23,7 @@ extern "C" {
#endif #endif
#ifndef s8 #ifndef s8
#define s8 char #define s8 signed char
#endif #endif
#ifndef u16 #ifndef u16
@ -31,7 +31,7 @@ extern "C" {
#endif #endif
#ifndef s16 #ifndef s16
#define s16 short #define s16 signed short
#endif #endif
#ifndef u32 #ifndef u32
@ -39,7 +39,7 @@ extern "C" {
#endif #endif
#ifndef s32 #ifndef s32
#define s32 int #define s32 signed int
#endif #endif
//#define CZ80_FASTCALL __fastcall //#define CZ80_FASTCALL __fastcall