Switch: fix version, remove redundant settings and unneeded defines

This commit is contained in:
rsn8887 2019-05-07 16:24:07 -05:00 committed by Filippos Karapetis
parent 875bc0b1c2
commit 30ee1f2cdc
4 changed files with 1 additions and 14 deletions

View File

@ -22,9 +22,6 @@
#include <switch.h>
#define FORBIDDEN_SYMBOL_EXCEPTION_stdout
#define FORBIDDEN_SYMBOL_EXCEPTION_stderr
#include "common/scummsys.h"
#include "backends/platform/sdl/switch/switch.h"
#include "backends/plugins/sdl/sdl-provider.h"

View File

@ -21,9 +21,7 @@
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
#include <sys/stat.h>
#include "common/scummsys.h"
#include "common/config-manager.h"
#include "backends/platform/sdl/switch/switch.h"

View File

@ -1,7 +1,7 @@
scummvm.nro: $(EXECUTABLE)
mkdir -p ./switch_release/scummvm/data
mkdir -p ./switch_release/scummvm/doc
nacptool --create "ScummVM" "Cpasjuste" "2.12" ./switch_release/scummvm.nacp
nacptool --create "ScummVM" "Cpasjuste" "$(VERSION)" ./switch_release/scummvm.nacp
elf2nro $(EXECUTABLE) ./switch_release/scummvm/scummvm.nro --icon=$(srcdir)/dists/switch/icon.jpg --nacp=./switch_release/scummvm.nacp
scummvm_switch.zip: scummvm.nro

8
configure vendored
View File

@ -1694,7 +1694,6 @@ switch)
datarootdir='${prefix}/data'
datadir='${datarootdir}'
docdir='${prefix}/doc'
PKG_CONFIG_LIBDIR=$DEVKITPRO/portlibs/switch/lib/pkgconfig
;;
tizen)
_host_os=tizen
@ -3404,14 +3403,7 @@ if test -n "$_host"; then
switch)
_backend="switch"
_opengl_mode=gles2
_build_scalers=yes
_build_hq_scalers=yes
_dynamic_modules=no
_vkeybd=yes
_mt32emu=yes
_vorbis=yes
_tremor=no
_eventrec=no
_port_mk="backends/platform/sdl/switch/switch.mk"
;;
tizen)