shithub: zelda3

Download patch

ref: 972ea118ed54913e2571f9c8f14e3735064c03f9
parent: da4e31f57802a6895de0124a4468d3802a9277f2
author: Keaton Greve <keatongreve@google.com>
date: Mon Sep 5 12:35:50 EDT 2022

fix mkdir call to use correct permissions (octal) (#58)


--- a/main.c
+++ b/main.c
@@ -188,7 +188,7 @@
 #if defined(_WIN32)
   _mkdir("saves");
 #else
-  mkdir("saves", 755);
+  mkdir("saves", 0755);
 #endif
 
   SetSnes(snes);