commit 42942069128bbee1f2d9d572ea0ac5ac1e50ff66
Author: jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Wed Mar 10 07:08:36 2021 -0700
Commit: jtothebell <j.to.the.bell@gmail.com>
CommitDate: Wed Mar 10 07:08:36 2021 -0700
Customize bios instructs; fix build
---
platform/3ds/source/3dsHost.cpp | 4 ++++
platform/switch/source/SwitchHost.cpp | 4 ++++
platform/vita/source/VitaHost.cpp | 8 ++++++++
platform/wiiu/source/WiiUHost.cpp | 5 +++++
test/stubhost.cpp | 4 ++++
5 files changed, 25 insertions(+)
diff --git a/platform/3ds/source/3dsHost.cpp b/platform/3ds/source/3dsHost.cpp
index 3aad0b5..7ab8f9f 100644
--- a/platform/3ds/source/3dsHost.cpp
+++ b/platform/3ds/source/3dsHost.cpp
@@ -417,3 +417,7 @@ vector<string> Host::listcarts(){
const char* Host::logFilePrefix() {
return "";
}
+
+std::string Host::customBiosLua() {
+ return "";
+}
diff --git a/platform/switch/source/SwitchHost.cpp b/platform/switch/source/SwitchHost.cpp
index 55c5ea7..3405fb7 100644
--- a/platform/switch/source/SwitchHost.cpp
+++ b/platform/switch/source/SwitchHost.cpp
@@ -347,3 +347,7 @@ vector<string> Host::listcarts(){
const char* Host::logFilePrefix() {
return "";
}
+
+std::string Host::customBiosLua() {
+ return "";
+}
diff --git a/platform/vita/source/VitaHost.cpp b/platform/vita/source/VitaHost.cpp
index 5a5daf2..ec816b3 100644
--- a/platform/vita/source/VitaHost.cpp
+++ b/platform/vita/source/VitaHost.cpp
@@ -469,3 +469,11 @@ const char* Host::logFilePrefix() {
return "ux0:/";
}
+std::string Host::customBiosLua() {
+ return "cartpath = \"ux0:/p8carts/\"\n"
+ "selectbtn = \"x\"\n"
+ "pausebtn = \"start\""
+ "exitbtn = \"l + r\""
+ "sizebtn = \"r\"";
+}
+
diff --git a/platform/wiiu/source/WiiUHost.cpp b/platform/wiiu/source/WiiUHost.cpp
index aafb648..4894191 100644
--- a/platform/wiiu/source/WiiUHost.cpp
+++ b/platform/wiiu/source/WiiUHost.cpp
@@ -363,3 +363,8 @@ const char* Host::logFilePrefix() {
return "";
}
+std::string Host::customBiosLua() {
+ return "cartpath = \"sd:/p8carts/\"\n"
+ "pausebtn = \"+\"";
+}
+
diff --git a/test/stubhost.cpp b/test/stubhost.cpp
index 2377368..96d88e5 100644
--- a/test/stubhost.cpp
+++ b/test/stubhost.cpp
@@ -89,3 +89,7 @@ vector<string> Host::listcarts(){
return carts;
}
+
+std::string Host::customBiosLua() {
+ return "";
+}