Merge pull request #735 from aliaspider/master

(PSP) add icon/background to launcher / update dist-script
This commit is contained in:
Twinaphex 2014-06-06 05:26:40 +02:00
commit 19d3efe7f9
6 changed files with 22 additions and 8 deletions

View File

@ -35,6 +35,10 @@ ifeq ($(HAVE_KERNEL_PRX), 1)
CFLAGS += -DHAVE_KERNEL_PRX
endif
ifeq ($(WHOLE_ARCHIVE_LINK), 1)
LDFLAGS += -Wl, --whole-archive
endif
CFLAGS += $(RARCH_DEFINES)

View File

@ -1,4 +1,5 @@
BUILD_PRX = 1
HAVE_FILE_LOGGER = 0
DEBUG = 0
TARGET = retroarchpsp_salamander
@ -26,7 +27,9 @@ endif
CFLAGS += $(RARCH_DEFINES)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = RetroArch PSP1
PSP_EBOOT_TITLE = RetroArch
PSP_EBOOT_ICON = psp1/ICON0.PNG
PSP_EBOOT_PIC1 = psp1/PIC1.PNG
OBJS = frontend/frontend_salamander.o frontend/frontend_context.o frontend/platform/platform_null.o file_path.o compat/compat.o conf/config_file.o psp1/kernel_functions.o

View File

@ -1,10 +1,16 @@
#!/bin/sh
#make -C ../ -f Makefile.wii.salamander clean || exit 1
make -C ../ -f Makefile.psp1 clean || exit 1
mkdir -p ../psp1/pkg/cores/
#make -C ../ -f Makefile.wii.salamander || exit 1
make -C ../ -f Makefile.psp1 || exit 1
make -C ../psp1/kernelFunctionsPrx/ clean || exit 1
make -C ../psp1/kernelFunctionsPrx/ || exit 1
cp -f ../kernel_functions.prx ../psp1/pkg/kernel_functions.prx
make -C ../ -f Makefile.psp1.salamander clean || exit 1
make -C ../ -f Makefile.psp1.salamander || exit 1
mv -f ../EBOOT.PBP ../psp1/pkg/EBOOT.PBP
make -C ../ -f Makefile.psp1 clean || exit 1
for f in *_psp1.a ; do
name=`echo "$f" | sed 's/\(_libretro_psp1\|\).a$//'`
@ -20,6 +26,6 @@ for f in *_psp1.a ; do
fi
cp -f "$f" ../libretro_psp1.a
make -C ../ -f Makefile.psp1 $whole_archive $big_stack -j3 || exit 1
mv -f ../retroarchpsp.prx ../psp1/pkg/${name}_libretro_psp1.prx
rm -f ../retroarchpsp.prx ../retroarchpsp.elf
mv -f ../EBOOT.PBP ../psp1/pkg/cores/${name}_libretro.PBP
rm -f ../retroarchpsp.elf
done

View File

@ -101,13 +101,14 @@ static void frontend_psp_deinit(void *data)
(void)data;
#ifndef IS_SALAMANDER
g_extern.verbose = false;
#endif
#ifdef HAVE_FILE_LOGGER
if (g_extern.log_file)
fclose(g_extern.log_file);
g_extern.log_file = NULL;
#endif
#endif
}
static void frontend_psp_shutdown(bool unused)

BIN
psp1/ICON0.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
psp1/PIC1.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB