mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-03 16:09:32 +00:00
Merge of GCC compilation fixes
This commit is contained in:
commit
d16b89d8f9
@ -176,6 +176,11 @@ DEFINES += -DENABLE_TOUCHE=$(ENABLE_TOUCHE)
|
||||
MODULES += engines/touche
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TSAGE
|
||||
DEFINES += -DENABLE_TSAGE=$(ENABLE_TSAGE)
|
||||
MODULES += engines/tsage
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TUCKER
|
||||
DEFINES += -DENABLE_TUCKER=$(ENABLE_TUCKER)
|
||||
MODULES += engines/tucker
|
||||
|
@ -52,8 +52,8 @@ struct tSageSavegameHeader {
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#define SYNC_POINTER(x) s.syncPointer((SavedObject **)&x)
|
||||
#define SYNC_ENUM(FIELD, TYPE) int v_##FIELD## = (int)FIELD; s.syncAsUint16LE(v_##FIELD##); \
|
||||
if (s.isLoading()) FIELD = (TYPE)v_##FIELD##;
|
||||
#define SYNC_ENUM(FIELD, TYPE) int v_##FIELD = (int)FIELD; s.syncAsUint16LE(v_##FIELD); \
|
||||
if (s.isLoading()) FIELD = (TYPE)v_##FIELD;
|
||||
|
||||
/**
|
||||
* Derived serialiser class with extra synchronisation types
|
||||
|
Loading…
Reference in New Issue
Block a user