mirror of
https://github.com/libretro/libretro-uae.git
synced 2026-11-07 11:16:05 -10:00
PS3: build fix and .lha load fix
This commit is contained in:
1 parent
273ca78a51
commit
d40a1cc6cc
4 files changed
+4
-15
No files matched your search
@@ -194,7 +194,7 @@ else ifneq (,$(filter $(platform), ps3 psl1ght))
|
||||
ZLIB_DIR = $(LIBUTILS)/zlib/
|
||||
LDFLAGS := -lm -lpthread -lc
|
||||
SOURCES_C += $(CORE_DIR)/deps-ps3/ps3_functions.c
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING=0
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# Emscripten
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
#include "ps3_headers.h"
|
||||
|
||||
#ifndef __PSL1GHT__
|
||||
int fseeko(FILE* stream, off_t pos, int whence)
|
||||
{
|
||||
return fseek(stream, (long)pos, whence);
|
||||
}
|
||||
|
||||
off_t ftello( FILE* stream )
|
||||
{
|
||||
return (off_t)ftell(stream);
|
||||
}
|
||||
|
||||
INLINE int gettimeofday(struct timeval* tv, void* blah)
|
||||
{
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#ifndef __PSL1GHT__
|
||||
#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
|
||||
#define usleep sys_timer_usleep
|
||||
#define getcwd(a,b) "/dev_hdd0/SSNE10000/USRDIR/"
|
||||
#define getenv(a) "/dev_hdd0/SSNE10000/USRDIR/cores/"
|
||||
#define getcwd(a,b) "/dev_hdd0/RETROARCH/USRDIR/"
|
||||
#define getenv(a) "/dev_hdd0/RETROARCH/USRDIR/cores/"
|
||||
#define chdir(a) 0
|
||||
|
||||
#undef timezone
|
||||
@@ -36,7 +36,5 @@ struct timeb {
|
||||
#endif
|
||||
|
||||
int gettimeofday(struct timeval* tv, void* blah);
|
||||
int fseeko(FILE* stream, off_t pos, int whence);
|
||||
off_t ftello( FILE* stream );
|
||||
int ftime(struct timeb* tb);
|
||||
#endif
|
||||
Vendored
+1
-1
@@ -48,9 +48,9 @@
|
||||
#include <libchdr/flac.h>
|
||||
#include <libchdr/huffman.h>
|
||||
|
||||
#include "zlib.h"
|
||||
#include "LzmaEnc.h"
|
||||
#include "LzmaDec.h"
|
||||
#include "zlib.h"
|
||||
|
||||
#undef TRUE
|
||||
#undef FALSE
|
||||
|
||||
Reference in new issue
Block a user