mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-06 01:19:37 +00:00
(7z) Change function signature of 7zip_read_file function
This commit is contained in:
parent
4d5e27e565
commit
6a5f614215
@ -55,6 +55,7 @@ else
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS += -Wall -pthread -Wno-unused-function -fno-stack-protector -funroll-loops -DNDEBUG -DRARCH_MOBILE -DHAVE_GRIFFIN -DANDROID -DHAVE_DYNAMIC -DHAVE_OPENGL -DHAVE_FBO -DHAVE_OVERLAY -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DGLSL_DEBUG -DHAVE_DYLIB -DHAVE_GLSL -DHAVE_MENU -DHAVE_RGUI -DHAVE_ZLIB -DINLINE=inline -DLSB_FIRST -DHAVE_THREADS -D__LIBRETRO__ -DHAVE_RSOUND -DHAVE_NETPLAY -DRARCH_INTERNAL -DHAVE_CC_RESAMPLER -DHAVE_FILTERS_BUILTIN
|
||||
#LOCAL_CFLAGS += -DHAVE_7ZIP -DHAVE_COMPRESSION -D_7ZIP_ST
|
||||
|
||||
LOCAL_CFLAGS += -O2
|
||||
|
||||
|
@ -156,7 +156,7 @@ static SRes ConvertUtf16toCharString(const UInt16 *s, char *outstring)
|
||||
|
||||
|
||||
// Extract the relative path relative_path from a 7z archive archive_path and allocate a buf for it to write it in.
|
||||
long read_7zip_file(const char * archive_path, const char *relative_path, void **buf)
|
||||
int read_7zip_file(const char * archive_path, const char *relative_path, void **buf)
|
||||
{
|
||||
CFileInStream archiveStream;
|
||||
CLookToRead lookStream;
|
||||
|
@ -20,7 +20,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
long read_7zip_file(const char * archive_path, const char *relative_path, void **buf);
|
||||
int read_7zip_file(const char * archive_path,
|
||||
const char *relative_path, void **buf);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user