diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-06 21:45:47 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-06 21:45:47 +0100 |
commit | 960db500527928e88bfb3787c9861a8b09f44749 (patch) | |
tree | fa37355a2c51216989dd6fb6d3283adb4213aee7 /src | |
parent | 269c766ec54edd0bc06d1df7385e2d5ed718b02b (diff) | |
download | gold-mine-run-960db500527928e88bfb3787c9861a8b09f44749.tar.gz gold-mine-run-960db500527928e88bfb3787c9861a8b09f44749.zip |
Go to text mode before reporting the error
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -32,6 +32,7 @@ int main(int argc, char *argv[]) uint8_t *screen = open_framebuffer(); if (!screen) { + set_mode(3); fprintf(stderr, "ERROR: failed to open the framebuffer\n"); return 1; } |