All: Fix broken #ifdefs

This commit is contained in:
Jeffrey Pfau 2016-12-20 18:51:12 -08:00
parent 74803ac15b
commit 55a9bf3ca7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);
}