aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2017-11-14 17:38:40 -0500
committerDeterminant <ted.sybil@gmail.com>2017-11-14 17:38:40 -0500
commit076dd5317af6061d916b3b119ded30dac8b5ac7e (patch)
tree6a6a5caee79f4d3a1683dc41498271d86865d83b /src/main.rs
parentdfdeb66b10c1c1af8243c475bca69839e2bdd6e8 (diff)
fix rol ror and rendering bugs
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index cef6d4c..eb327ac 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -75,7 +75,7 @@ impl SDLWindow {
}
}
-const PIXEL_SIZE: u32 = 2;
+const PIXEL_SIZE: u32 = 4;
const COLORS: [u32; 64] = [
0x666666, 0x002A88, 0x1412A7, 0x3B00A4, 0x5C007E, 0x6E0040, 0x6C0600, 0x561D00,
0x333500, 0x0B4800, 0x005200, 0x004F08, 0x00404D, 0x000000, 0x000000, 0x000000,
@@ -204,6 +204,7 @@ fn main() {
cnt2 = 0;
cnt = 0;
flag = true;
+ //pmem.dump();
}
} else {
flag = false;