summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'global.c')
-rw-r--r--global.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/global.c b/global.c
index 083f7d8..10dd7db 100644
--- a/global.c
+++ b/global.c
@@ -99,10 +99,12 @@ uint solids[MAPSIZE][MAPSIZE] = {0}; // here you can check whether you can walk
// nice idea would be a hidden wall you can walk through to access a secret room... hmmm
// something happened that should not happen
-void error(void)
+void error(char * msg)
{
+ int k;
+
clear_vram();
PrintMini(1,1, "ERROR!");
+ PrintMini(1, 10, msg);
display_vram();
- while(1);
}