diff --git a/src/gba/rr/vbm.c b/src/gba/rr/vbm.c index 5a3f0d0b6..c9ebca2e4 100644 --- a/src/gba/rr/vbm.c +++ b/src/gba/rr/vbm.c @@ -245,7 +245,7 @@ bool GBAVBMSetStream(struct GBAVBMContext* vbm, struct VFile* vf) { uint8_t flags; vf->read(vf, &flags, sizeof(flags)); if (flags & 2) { -#if USE_ZLIB +#ifdef USE_ZLIB vbm->d.initFrom = INIT_FROM_SAVEGAME; #else // zlib is needed to parse the savegame diff --git a/src/util/vfs.c b/src/util/vfs.c index 5f6533762..27932c717 100644 --- a/src/util/vfs.c +++ b/src/util/vfs.c @@ -104,7 +104,7 @@ struct VDir* VDirOpenArchive(const char* path) { dir = VDirOpenZip(path, 0); } #endif -#if USE_LZMA +#ifdef USE_LZMA if (!dir) { dir = VDirOpen7z(path, 0); }