mirror of https://github.com/mgba-emu/mgba.git
All: Fix some warnings
This commit is contained in:
parent
5b4f8dfae3
commit
a920eaa7f0
|
@ -727,6 +727,8 @@ void GBATakeScreenshot(struct GBA* gba, struct VDir* dir) {
|
|||
GBALog(gba, GBA_LOG_STATUS, "Screenshot saved");
|
||||
return;
|
||||
}
|
||||
#else
|
||||
UNUSED(dir);
|
||||
#endif
|
||||
GBALog(gba, GBA_LOG_STATUS, "Failed to take screenshot");
|
||||
}
|
||||
|
|
|
@ -98,6 +98,7 @@ struct VFile* VFileOpen(const char* path, int flags) {
|
|||
|
||||
struct VDir* VDirOpenArchive(const char* path) {
|
||||
struct VDir* dir = 0;
|
||||
UNUSED(path);
|
||||
#if defined(USE_LIBZIP) || defined(USE_ZLIB)
|
||||
if (!dir) {
|
||||
dir = VDirOpenZip(path, 0);
|
||||
|
|
Loading…
Reference in New Issue