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
libretro-2048
Commits
2b5d7927
Commit
2b5d7927
authored
Nov 01, 2018
by
fjtrujy
Browse files
Compile 2048 for PS2
parent
80d462ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
2b5d7927
...
...
@@ -168,6 +168,16 @@ else ifeq ($(platform), psl1ght)
PLATFORM_DEFINES
:=
-D__CELLOS_LV2__
STATIC_LINKING
=
1
# PS2
else
ifeq
($(platform), ps2)
EXT
=
a
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.
$(EXT)
CC
=
ee-gcc
$(EXE_EXT)
AR
=
ee-ar
$(EXE_EXT)
PLATFORM_DEFINES
:=
-DPS2
-G0
CFLAGS
:=
-Ips2
STATIC_LINKING
=
1
# PSP
else
ifeq
($(platform), psp1)
EXT
=
a
...
...
ps2/stdint.h
0 → 100644
View file @
2b5d7927
#ifndef STDINT_H
#define STDINT_H
typedef
unsigned
long
uintptr_t
;
typedef
signed
long
intptr_t
;
typedef
signed
char
int8_t
;
typedef
signed
short
int16_t
;
typedef
signed
int
int32_t
;
typedef
signed
long
int64_t
;
typedef
unsigned
char
uint8_t
;
typedef
unsigned
short
uint16_t
;
typedef
unsigned
int
uint32_t
;
typedef
unsigned
long
uint64_t
;
#define STDIN_FILENO 0
/* standard input file descriptor */
#define STDOUT_FILENO 1
/* standard output file descriptor */
#define STDERR_FILENO 2
/* standard error file descriptor */
#define INT8_C(val) val##c
#define INT16_C(val) val##h
#define INT32_C(val) val##i
#define INT64_C(val) val##l
#define UINT8_C(val) val##uc
#define UINT16_C(val) val##uh
#define UINT32_C(val) val##ui
#define UINT64_C(val) val##ul
#endif //STDINT_H
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