1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-31 17:37:46 +00:00

Ports/gltron: Exit the game when SDL_QUIT is received

This commit is contained in:
Jelle Raaijmakers 2023-04-25 19:05:39 +02:00 committed by Sam Atkins
parent 7465362fe7
commit bff5137cb4
2 changed files with 39 additions and 0 deletions

View file

@ -17,3 +17,14 @@ Build: Fix `char*` vs. `const char*` arguments
These arguments are of the wrong constness, which will trip our
compiler.
## `0004-System-Make-sure-to-exit-the-loop-on-receiving-SDL_Q.patch`
System: Make sure to exit the loop on receiving SDL_QUIT
This is fixed in more modern adaptations, as can be seen here:
https://github.com/laanwj/gltron/blob/336dbbb75afe0aed1d9faaa5bbaa867b2b13d10b/nebu/base/system.c#L135
Since we work with the original source material, we better patch this
ourselves.