mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-10-07 02:33:33 +00:00
buInit
This commit is contained in:
parent
0ce672c3b6
commit
e8a0dc100b
14
pcdcBkup.cpp
14
pcdcBkup.cpp
@ -1 +1,15 @@
|
||||
#include "pcdcBkup.h"
|
||||
#include "non_win32.h"
|
||||
|
||||
EXPORT CHAR gMemorycardPath[688];
|
||||
|
||||
// @Ok
|
||||
// @Matching
|
||||
i32 buInit(i32, i32, void*, void (*a4)(void))
|
||||
{
|
||||
GetCurrentDirectoryA(0x104u, gMemorycardPath);
|
||||
strcat(gMemorycardPath, "\\save\\");
|
||||
CreateDirectoryA(gMemorycardPath, 0);
|
||||
a4();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user