mirror of https://github.com/mgba-emu/mgba.git
All: Fix broken #ifdefs
This commit is contained in:
parent
74803ac15b
commit
55a9bf3ca7
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue