Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-pce-libretro
Commits
cb9b1dcf
Commit
cb9b1dcf
authored
Feb 05, 2022
by
unknown
Browse files
PS3/PSL1GHT build fix
parent
2db84e88
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
cb9b1dcf
...
...
@@ -199,19 +199,18 @@ else ifeq ($(platform), qnx)
AR
=
QCC
-Vgcc_ntoarmv7le
FLAGS
+=
-D__BLACKBERRY_QNX__
-marm
-mcpu
=
cortex-a9
-mfpu
=
neon
-mfloat-abi
=
softfp
# PS3
else
ifneq
(,$(filter $(platform), psl1ght))
TARGET
:=
$(TARGET_NAME)
_libretro_ps3.a
STATIC_LINKING
=
1
ENDIANNESS_DEFINES
:=
-DMSB_FIRST
-DBYTE_ORDER
=
BIG_ENDIAN
# Lightweight PS3 Homebrew SDK
ifneq
(,$(findstring psl1ght,$(platform)))
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
CC
=
$(PS3DEV)
/ppu/bin/ppu-gcc
$(EXE_EXT)
CXX
=
$(PS3DEV)
/ppu/bin/ppu-g++
$(EXE_EXT)
AR
=
$(PS3DEV)
/ppu/bin/ppu-ar
$(EXE_EXT)
endif
# Lightweight PS3 Homebrew SDK
else
ifneq
(,$(filter $(platform), ps3 psl1ght))
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
STATIC_LINKING
=
1
ENDIANNESS_DEFINES
:=
-DMSB_FIRST
-DBYTE_ORDER
=
BIG_ENDIAN
FLAGS
+=
-D__PS3__
-DUSE_LIBRETRO_VFS
CC
=
$(PS3DEV)
/ppu/bin/ppu-
$(COMMONLV)
gcc
$(EXE_EXT)
CXX
=
$(PS3DEV)
/ppu/bin/ppu-
$(COMMONLV)
g++
$(EXE_EXT)
AR
=
$(PS3DEV)
/ppu/bin/ppu-
$(COMMONLV)
ar
$(EXE_EXT)
ifeq
($(platform), psl1ght)
FLAGS
+=
-D__PSL1GHT__
endif
# PSP
else
ifeq
($(platform), psp1)
...
...
deps/libchdr/include/libchdr/coretypes.h
View file @
cb9b1dcf
...
...
@@ -20,6 +20,14 @@ typedef int32_t INT32;
typedef
int16_t
INT16
;
typedef
int8_t
INT8
;
#ifdef USE_LIBRETRO_VFS
#define core_file RFILE
#define core_fopen(file) rfopen(file, "rb")
#define core_fseek rfseek
#define core_ftell rftell
#define core_fread(fc, buff, len) fread(buff, 1, len, fc)
#define core_fclose rfclose
#else
#define core_file FILE
#define core_fopen(file) fopen(file, "rb")
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32) || defined(__WIN64__)
...
...
@@ -34,6 +42,7 @@ typedef int8_t INT8;
#endif
#define core_fread(fc, buff, len) fread(buff, 1, len, fc)
#define core_fclose fclose
#endif
/* USE_LIBRETRO_VFS */
static
UINT64
core_fsize
(
core_file
*
f
)
{
...
...
deps/lzma-19.00/include/7zTypes.h
View file @
cb9b1dcf
...
...
@@ -63,7 +63,10 @@ typedef int WRes;
#define RINOK(x) { int __result__ = (x); if (__result__ != 0) return __result__; }
#endif
#if !defined(__BYTE_DEFINED__)
typedef
unsigned
char
Byte
;
#define __BYTE_DEFINED__
#endif
typedef
short
Int16
;
typedef
unsigned
short
UInt16
;
...
...
deps/zlib-1.2.11/zconf.h
View file @
cb9b1dcf
...
...
@@ -387,8 +387,9 @@
# define FAR
#endif
#if !defined(__MACTYPES__)
#if !defined(__MACTYPES__)
&& !defined(__BYTE_DEFINED__)
typedef
unsigned
char
Byte
;
/* 8 bits */
#define __BYTE_DEFINED__
#endif
typedef
unsigned
int
uInt
;
/* 16 bits or more */
typedef
unsigned
long
uLong
;
/* 32 bits or more */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment