mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Snake: Persist high score
This commit is contained in:
parent
0d2bfe5c65
commit
6a892ea3a2
2 changed files with 8 additions and 4 deletions
|
@ -37,14 +37,14 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (pledge("stdio rpath shared_buffer accept cpath unix fattr", nullptr) < 0) {
|
||||
if (pledge("stdio rpath wpath cpath shared_buffer accept cpath unix fattr", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
GUI::Application app(argc, argv);
|
||||
|
||||
if (pledge("stdio rpath shared_buffer accept", nullptr) < 0) {
|
||||
if (pledge("stdio rpath wpath cpath shared_buffer accept", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue