SCI32: Exclude script patch when SCI32 is disabled

Fixes compiler warning
This commit is contained in:
sluicebox 2021-08-10 21:45:31 -05:00
parent 154d83dbaa
commit 7ceb99d982

View File

@ -571,6 +571,7 @@ static const uint16 sciNarratorLockupPatch[] = {
PATCH_END
};
#ifdef ENABLE_SCI32
// Same signature/patch as above but for SCI32 games with debug line instructions.
// Some games use both because different versions were compiled differently.
static const uint16 sciNarratorLockupLineSignature[] = {
@ -592,6 +593,7 @@ static const uint16 sciNarratorLockupLinePatch[] = {
0x31, 0xfb, // bnt fb [ set ticks to 0 if ticks == -1 ]
PATCH_END
};
#endif
// ECO1 CD and SQ4 CD share an early Narrator:say variant
static const uint16 ecoquest1Sq4CdNarratorLockupSignature[] = {