diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-09 14:28:20 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-09 14:28:20 +0100 |
commit | 9ff574061910f9562ccf4b2f6a21dda66e2a3f08 (patch) | |
tree | 07ce267287ddbe6721a6e4fbc5c17e19f316e089 | |
parent | 7458f7169143547e072ecd068501309fdd39ebf3 (diff) | |
download | gold-mine-run-9ff574061910f9562ccf4b2f6a21dda66e2a3f08.tar.gz gold-mine-run-9ff574061910f9562ccf4b2f6a21dda66e2a3f08.zip |
Erase the screen before going back to mode 3
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -97,6 +97,10 @@ int main(int argc, char *argv[]) while (run_menu()) run_game(); + blit_target(TARGET_SCREEN); + wait_vsync(); + blit_erase(0); + set_mode(3); close_framebuffer(); |