mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
partially revived platform support for PSP (unfinished) #2
scaling, release generation, fixes still not planning to make this officially supported.
This commit is contained in:
parent
cdc6aac4c0
commit
6c5784f07f
13 changed files with 129 additions and 93 deletions
10
configure
vendored
10
configure
vendored
|
@ -38,7 +38,7 @@ check_define()
|
|||
# setting options to "yes" or "no" will make that choice default,
|
||||
# "" means "autodetect".
|
||||
|
||||
platform_list="generic pandora gp2x wiz caanoo opendingux gcw0 rg350 rpi1 rpi2"
|
||||
platform_list="generic pandora gp2x wiz caanoo opendingux gcw0 rg350 rpi1 rpi2 psp"
|
||||
platform="generic"
|
||||
sound_driver_list="oss alsa sdl"
|
||||
sound_drivers=""
|
||||
|
@ -114,6 +114,12 @@ set_platform()
|
|||
CFLAGS="$CFLAGS -D__GP2X__"
|
||||
platform="gp2x"
|
||||
;;
|
||||
psp)
|
||||
# use newlib
|
||||
LDFLAGS="$LDFLAGS -lc -lpspuser -lpspkernel"
|
||||
CFLAGS="$CFLAGS -D__PSP__"
|
||||
ARCH=mipsel
|
||||
;;
|
||||
*)
|
||||
fail "unsupported platform: $platform"
|
||||
;;
|
||||
|
@ -341,7 +347,7 @@ EOF
|
|||
compile_object "$@"
|
||||
}
|
||||
|
||||
check_zlib -lz &&MAIN_LDLIBS="$MAIN_LDLIBS -lz" || need_zlib="yes"
|
||||
check_zlib -lz && MAIN_LDLIBS="$MAIN_LDLIBS -lz" || need_zlib="yes"
|
||||
|
||||
MAIN_LDLIBS="-lpng $MAIN_LDLIBS"
|
||||
check_libpng || fail "please install libpng (libpng-dev)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue