From edb77760ea0a95e83b9c2ccfef1defe9c7616931 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 9 Jan 2013 18:07:38 +0100 Subject: [PATCH] (RARCH_CONSOLE) Small cleanups in console headers --- console/rarch_console.h | 2 +- console/rarch_console_rom_ext.c | 2 ++ console/rarch_console_rom_ext.h | 6 ++---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/console/rarch_console.h b/console/rarch_console.h index e6bcc791c0..e58ff74d20 100644 --- a/console/rarch_console.h +++ b/console/rarch_console.h @@ -49,7 +49,7 @@ enum { MENU_ITEM_KEEP_ASPECT_RATIO, MENU_ITEM_OVERSCAN_AMOUNT, MENU_ITEM_ORIENTATION, -#ifdef __CELLOS_LV2__ +#ifdef HAVE_FBO MENU_ITEM_SCALE_FACTOR, #endif MENU_ITEM_RESIZE_MODE, diff --git a/console/rarch_console_rom_ext.c b/console/rarch_console_rom_ext.c index 6423d32a5b..030eb0da99 100644 --- a/console/rarch_console_rom_ext.c +++ b/console/rarch_console_rom_ext.c @@ -34,6 +34,8 @@ #ifdef HAVE_ZLIB #include "../deps/rzlib/zlib.h" +#define WRITEBUFFERSIZE (1024 * 512) + static int rarch_extract_currentfile_in_zip(unzFile uf, const char *current_dir, char *slash, char *write_filename, size_t write_filename_size, unsigned extract_zip_mode) { char filename_inzip[PATH_MAX]; diff --git a/console/rarch_console_rom_ext.h b/console/rarch_console_rom_ext.h index 633118799f..38d862c7dd 100644 --- a/console/rarch_console_rom_ext.h +++ b/console/rarch_console_rom_ext.h @@ -17,11 +17,7 @@ #ifndef RARCH_ROM_EXT_H__ #define RARCH_ROM_EXT_H__ -void rarch_console_load_game_wrap(const char *path, unsigned extract_zip_mode, unsigned delay); - #ifdef HAVE_ZLIB -#define WRITEBUFFERSIZE (1024 * 512) - enum { ZIP_EXTRACT_TO_CURRENT_DIR = 0, @@ -30,4 +26,6 @@ enum }; #endif +void rarch_console_load_game_wrap(const char *path, unsigned extract_zip_mode, unsigned delay); + #endif