foxygit / fake-08-xbox360 Log in
commit 1adbd730bd3edfe7aea173a0054b213f7ab1ed47
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sat Mar 6 16:23:05 2021 -0700
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Sat Mar 6 16:23:05 2021 -0700

    Fix switch icon and app data
---
 Makefile                 |   4 ++++
 platform/3ds/Makefile    |   6 ++++--
 platform/switch/Makefile |   5 +++++
 platform/switch/icon.jpg | Bin 0 -> 6876 bytes
 platform/switch/icon.png | Bin 776 -> 0 bytes
 5 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e7b4f2f..d17a01e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@
 ROOT_SOURCES	?= source
 ROOT_INCLUDES	?= include

+export APP_TITLE	= FAKE-08
+export APP_AUTHOR	= jtothebell
+export APP_VERSION	= v0.0.2.3
+
 #paths are relative to platform folder
 export SOURCES   = ../../source ../../libs/z8lua ../../libs/utf8-util ../../libs/lodepng
 export INCLUDES  = ../../include ../../libs/z8lua ../../libs/utf8-util ../../libs/lodepng
diff --git a/platform/3ds/Makefile b/platform/3ds/Makefile
index 6fae34e..81e22f4 100644
--- a/platform/3ds/Makefile
+++ b/platform/3ds/Makefile
@@ -31,8 +31,10 @@ include $(DEVKITARM)/3ds_rules
 #     - icon.png
 #     - <libctru folder>/default_icon.png
 #---------------------------------------------------------------------------------
-APP_TITLE        := FAKE-08
-APP_AUTHOR       := jtothebell
+APP_TITLE	:= $(APP_TITLE)
+APP_AUTHOR	:= $(APP_AUTHOR)
+APP_VERSION	:= $(APP_VERSION)
+
 APP_DESCRIPTION  := A Pico 8 Emulator

 APP_UNIQUE_ID    := 0xF8F08
diff --git a/platform/switch/Makefile b/platform/switch/Makefile
index 84ab1fb..d6e725d 100644
--- a/platform/switch/Makefile
+++ b/platform/switch/Makefile
@@ -30,6 +30,11 @@ include $(DEVKITPRO)/libnx/switch_rules
 #     - icon.jpg
 #     - <libnx folder>/default_icon.jpg
 #---------------------------------------------------------------------------------
+
+APP_TITLE	:= $(APP_TITLE)
+APP_AUTHOR	:= $(APP_AUTHOR)
+APP_VERSION	:= $(APP_VERSION)
+
 TARGET		:=	FAKE-08
 BUILD		:=	build
 SOURCES		:=	${SOURCES} source
diff --git a/platform/switch/icon.jpg b/platform/switch/icon.jpg
new file mode 100644
index 0000000..0ff63fd
Binary files /dev/null and b/platform/switch/icon.jpg differ
diff --git a/platform/switch/icon.png b/platform/switch/icon.png
deleted file mode 100644
index d9b870f..0000000
Binary files a/platform/switch/icon.png and /dev/null differ