This commit is contained in:
twinaphex 2016-01-23 23:00:35 +01:00
parent 365b27caac
commit 9c131dfaad

View File

@ -788,12 +788,12 @@ bool zlib_perform_mode(const char *path, const char *valid_exts,
{ {
switch (cmode) switch (cmode)
{ {
case 0: /* Uncompressed */ case ZLIB_MODE_UNCOMPRESSED:
if (!retro_write_file(path, cdata, size)) if (!retro_write_file(path, cdata, size))
return false; return false;
break; break;
case 8: /* Deflate */ case ZLIB_MODE_DEFLATE:
{ {
int ret = 0; int ret = 0;
zlib_file_handle_t handle = {0}; zlib_file_handle_t handle = {0};