commit eb3d188b3a885d3103ae99652ea55227d2efd9d5
Author: Jon Bell <jondbell@protonmail.com>
AuthorDate: Tue Apr 28 21:42:29 2020 -0600
Commit: Jon Bell <jondbell@protonmail.com>
CommitDate: Tue Apr 28 21:42:29 2020 -0600
Fix build when test is set to off
---
source/main.cpp | 2 +-
source/tests/test_base.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/main.cpp b/source/main.cpp
index cb04684..3730c53 100644
--- a/source/main.cpp
+++ b/source/main.cpp
@@ -99,7 +99,7 @@ int main(int argc, char* argv[])
Logger::Write("Cart Loaded\n");
#else
- console.LoadCart("testcart.p8");
+ console->LoadCart("testcart.p8");
#endif
// Main loop
diff --git a/source/tests/test_base.h b/source/tests/test_base.h
index 1471fc3..8b517e2 100644
--- a/source/tests/test_base.h
+++ b/source/tests/test_base.h
@@ -1,7 +1,7 @@
#pragma once
//if this is set to 1, test cases will be run on the test cart
-#define _TEST 1
+#define _TEST 0
//if this flag is set, only failures get printed to console
#define _PRINT_SUCCESS 1