foxygit / fake-08-xbox360 Log in
commit 596359e25bbddc77e766e0626121c8755f9b0373
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Wed Oct 12 19:33:53 2022 -0600
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Wed Oct 12 19:33:53 2022 -0600

    add methods to stubhost to fix tests
---
 test/stubhost.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/stubhost.cpp b/test/stubhost.cpp
index 96ed9f8..56f3b07 100644
--- a/test/stubhost.cpp
+++ b/test/stubhost.cpp
@@ -112,6 +112,13 @@ std::string Host::getCartDataFileContents(std::string cartDataKey) {
 void Host::saveCartData(std::string cartDataKey, std::string contents) {
 }

+void Host::writeBufferToFile(std::string fileName, char* buffer, size_t length) {
+}
+
+size_t Host::getFileContents(std::string fileName, char* buffer) {
+    return 0;
+}
+
 int Host::getSetting(std::string sname) {
     return 0;
 }