mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
Switch: fix version, remove redundant settings and unneeded defines
This commit is contained in:
parent
875bc0b1c2
commit
30ee1f2cdc
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
8
configure
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user