all repos — mgba @ 55a9bf3ca790fb93901dc0ea6bff168ba23aafa7

mGBA Game Boy Advance Emulator

All: Fix broken #ifdefs
Jeffrey Pfau jeffrey@endrift.com
Tue, 20 Dec 2016 18:51:12 -0800
commit

55a9bf3ca790fb93901dc0ea6bff168ba23aafa7

parent

74803ac15b4d22bac87b231200eeb42e7ce93d6e

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/gba/rr/vbm.csrc/gba/rr/vbm.c

@@ -245,7 +245,7 @@

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
M src/util/vfs.csrc/util/vfs.c

@@ -104,7 +104,7 @@ if (!dir) {

dir = VDirOpenZip(path, 0); } #endif -#if USE_LZMA +#ifdef USE_LZMA if (!dir) { dir = VDirOpen7z(path, 0); }