diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2013-11-18 16:20:35 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2013-11-18 16:20:35 +0100 |
| commit | 423c99862f5057b13bd2f8cb277fb04d7c6222f3 (patch) | |
| tree | 0602e1ea1be462f50eeb70b79f2d6563acd06cec /global.c | |
| parent | 0d9a7c969269fc4d0b94b732136bff70903116ba (diff) | |
| download | fx-maze-423c99862f5057b13bd2f8cb277fb04d7c6222f3.tar.gz fx-maze-423c99862f5057b13bd2f8cb277fb04d7c6222f3.zip | |
improved error feedback
Diffstat (limited to 'global.c')
| -rw-r--r-- | global.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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);
}
|
