summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-10-28 15:18:44 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-10-28 15:18:44 +1000
commit23969d27036af33f89b32b895fae1c852f921c82 (patch)
tree07c505750fcb948848f21783d8aa15aad3788713 /Program.cs
parent1e5c56c33291dad6f603a98b555194f3af252805 (diff)
fix: point to relative pathmain
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Program.cs b/Program.cs
index 800ee12..31f5e1b 100644
--- a/Program.cs
+++ b/Program.cs
@@ -14,7 +14,7 @@ class Program
Program.Reset();
CreateScreen();
- WriteRom("/Users/melodidey/Source/csharp/pgch8/test_opcode.ch8");
+ WriteRom("tetris.ch8");
WriteFont([
0xF0, 0x90, 0x90, 0x90, 0xF0, // 0
0x20, 0x60, 0x20, 0x20, 0x70, // 1
@@ -184,7 +184,7 @@ class Screen
StringBuilder sb = new();
for (int i = 0; i < Pixels.Length; i++)
{
- sb.Append(Pixels[i] ? "#" : " ");
+ sb.Append(Pixels[i] ? "█" : " ");
if ((i + 1) % Width == 0)
sb.AppendLine();
}