diff src/main.c @ 30:78068060313a

Fixed memory flags on RAM
author Michael Pavone <pavone@retrodev.com>
date Sun, 03 Apr 2016 18:37:14 -0700
parents c677507682e3
children eda4919d955f
line wrap: on
line diff
--- a/src/main.c	Sun Apr 03 18:37:01 2016 -0700
+++ b/src/main.c	Sun Apr 03 18:37:14 2016 -0700
@@ -180,7 +180,7 @@
 
 memory_region regions[] = {
 	{rom, 0, sizeof(rom)-1, MEM_READ},
-	{ram, sizeof(rom), sizeof(rom)-1+sizeof(ram), MEM_READ},
+	{ram, sizeof(rom), sizeof(rom)-1+sizeof(ram), MEM_READ|MEM_WRITE},
 };
 
 void run_console(console *context)