mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 08:54:13 +00:00
(RARCH_CONSOLE) Small cleanups in console headers
This commit is contained in:
parent
27a71de056
commit
edb77760ea
@ -49,7 +49,7 @@ enum {
|
|||||||
MENU_ITEM_KEEP_ASPECT_RATIO,
|
MENU_ITEM_KEEP_ASPECT_RATIO,
|
||||||
MENU_ITEM_OVERSCAN_AMOUNT,
|
MENU_ITEM_OVERSCAN_AMOUNT,
|
||||||
MENU_ITEM_ORIENTATION,
|
MENU_ITEM_ORIENTATION,
|
||||||
#ifdef __CELLOS_LV2__
|
#ifdef HAVE_FBO
|
||||||
MENU_ITEM_SCALE_FACTOR,
|
MENU_ITEM_SCALE_FACTOR,
|
||||||
#endif
|
#endif
|
||||||
MENU_ITEM_RESIZE_MODE,
|
MENU_ITEM_RESIZE_MODE,
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
#ifdef HAVE_ZLIB
|
#ifdef HAVE_ZLIB
|
||||||
#include "../deps/rzlib/zlib.h"
|
#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)
|
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];
|
char filename_inzip[PATH_MAX];
|
||||||
|
@ -17,11 +17,7 @@
|
|||||||
#ifndef RARCH_ROM_EXT_H__
|
#ifndef RARCH_ROM_EXT_H__
|
||||||
#define 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
|
#ifdef HAVE_ZLIB
|
||||||
#define WRITEBUFFERSIZE (1024 * 512)
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
ZIP_EXTRACT_TO_CURRENT_DIR = 0,
|
ZIP_EXTRACT_TO_CURRENT_DIR = 0,
|
||||||
@ -30,4 +26,6 @@ enum
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void rarch_console_load_game_wrap(const char *path, unsigned extract_zip_mode, unsigned delay);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user