commit 717fec9d0e9863cf7c7c06f81c044cab1a8041f0
Author: Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Wed May 11 07:45:55 2022 -0600
Commit: Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Wed May 11 07:45:55 2022 -0600
more whitespace changes
---
source/vm.h | 26 +++++++++----------
test/stubhost.cpp | 78 +++++++++++++++++++++++++++----------------------------
2 files changed, 52 insertions(+), 52 deletions(-)
diff --git a/source/vm.h b/source/vm.h
index cac1560..3431f87 100644
--- a/source/vm.h
+++ b/source/vm.h
@@ -66,7 +66,7 @@ class Vm {
~Vm();
void LoadBiosCart();
-
+
void LoadSettingsCart();
void LoadCart(string filename);
@@ -145,18 +145,18 @@ class Vm {
int getHour();
int getMinute();
int getSecond();
-
- //settings
- int getSetting(string sname);
- void setSetting(string sname, int sval);
-
- void installPackins();
-
- //label
- void loadLabel(string filename, bool mini, int minioffset);
-
- string getLuaLine(string filename, int linenumber);
-
+
+ //settings
+ int getSetting(string sname);
+ void setSetting(string sname, int sval);
+
+ void installPackins();
+
+ //label
+ void loadLabel(string filename, bool mini, int minioffset);
+
+ string getLuaLine(string filename, int linenumber);
+
string getCartBreadcrumb();
string getCartParam();
};
diff --git a/test/stubhost.cpp b/test/stubhost.cpp
index 5150816..96ed9f8 100644
--- a/test/stubhost.cpp
+++ b/test/stubhost.cpp
@@ -42,7 +42,7 @@ void Host::changeStretch(){
}
void Host::forceStretch(StretchOption newStretch) {
-
+
}
void StubHost::stubInput(uint8_t kdown, uint8_t kheld) {
@@ -113,11 +113,11 @@ void Host::saveCartData(std::string cartDataKey, std::string contents) {
}
int Host::getSetting(std::string sname) {
- return 0;
+ return 0;
}
void Host::setSetting(std::string sname, int sval) {
-
+
}
std::string Host::getCartDirectory() {
@@ -127,42 +127,42 @@ std::string Host::getCartDirectory() {
void Host::setUpPaletteColors(){
_paletteColors[0] = COLOR_00;
- _paletteColors[1] = COLOR_01;
- _paletteColors[2] = COLOR_02;
- _paletteColors[3] = COLOR_03;
- _paletteColors[4] = COLOR_04;
- _paletteColors[5] = COLOR_05;
- _paletteColors[6] = COLOR_06;
- _paletteColors[7] = COLOR_07;
- _paletteColors[8] = COLOR_08;
- _paletteColors[9] = COLOR_09;
- _paletteColors[10] = COLOR_10;
- _paletteColors[11] = COLOR_11;
- _paletteColors[12] = COLOR_12;
- _paletteColors[13] = COLOR_13;
- _paletteColors[14] = COLOR_14;
- _paletteColors[15] = COLOR_15;
-
- for (int i = 16; i < 128; i++) {
- _paletteColors[i] = {0, 0, 0, 0};
- }
-
- _paletteColors[128] = COLOR_128;
- _paletteColors[129] = COLOR_129;
- _paletteColors[130] = COLOR_130;
- _paletteColors[131] = COLOR_131;
- _paletteColors[132] = COLOR_132;
- _paletteColors[133] = COLOR_133;
- _paletteColors[134] = COLOR_134;
- _paletteColors[135] = COLOR_135;
- _paletteColors[136] = COLOR_136;
- _paletteColors[137] = COLOR_137;
- _paletteColors[138] = COLOR_138;
- _paletteColors[139] = COLOR_139;
- _paletteColors[140] = COLOR_140;
- _paletteColors[141] = COLOR_141;
- _paletteColors[142] = COLOR_142;
- _paletteColors[143] = COLOR_143;
+ _paletteColors[1] = COLOR_01;
+ _paletteColors[2] = COLOR_02;
+ _paletteColors[3] = COLOR_03;
+ _paletteColors[4] = COLOR_04;
+ _paletteColors[5] = COLOR_05;
+ _paletteColors[6] = COLOR_06;
+ _paletteColors[7] = COLOR_07;
+ _paletteColors[8] = COLOR_08;
+ _paletteColors[9] = COLOR_09;
+ _paletteColors[10] = COLOR_10;
+ _paletteColors[11] = COLOR_11;
+ _paletteColors[12] = COLOR_12;
+ _paletteColors[13] = COLOR_13;
+ _paletteColors[14] = COLOR_14;
+ _paletteColors[15] = COLOR_15;
+
+ for (int i = 16; i < 128; i++) {
+ _paletteColors[i] = {0, 0, 0, 0};
+ }
+
+ _paletteColors[128] = COLOR_128;
+ _paletteColors[129] = COLOR_129;
+ _paletteColors[130] = COLOR_130;
+ _paletteColors[131] = COLOR_131;
+ _paletteColors[132] = COLOR_132;
+ _paletteColors[133] = COLOR_133;
+ _paletteColors[134] = COLOR_134;
+ _paletteColors[135] = COLOR_135;
+ _paletteColors[136] = COLOR_136;
+ _paletteColors[137] = COLOR_137;
+ _paletteColors[138] = COLOR_138;
+ _paletteColors[139] = COLOR_139;
+ _paletteColors[140] = COLOR_140;
+ _paletteColors[141] = COLOR_141;
+ _paletteColors[142] = COLOR_142;
+ _paletteColors[143] = COLOR_143;
}
Color* Host::GetPaletteColors(){