commit 6c14ced7fb10598266f451787e950ef8daca0cfe
Author: Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sat Mar 12 10:07:54 2022 -0700
Commit: Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Sat Mar 12 10:07:54 2022 -0700
Add comment about odd char height behavior
---
source/printHelper.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/source/printHelper.cpp b/source/printHelper.cpp
index 26269c9..ff9121b 100644
--- a/source/printHelper.cpp
+++ b/source/printHelper.cpp
@@ -195,6 +195,8 @@ int print(std::string str, int x, int y, uint8_t c) {
charWidth = p0CharToNum(charWidthChar);
}
else if (commandChar == 'y'){
+ //this behaves in a way I wouldn't expect in pico 8- it seems to apply to the next print statment
+ //but not if there is a \n in the string. Not sure if this is a bug or not
uint8_t charHeightChar = str[++n];
charHeight = p0CharToNum(charHeightChar);
}