mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-15 09:34:18 +02:00
Fix building with latest libnx (#234)
This commit is contained in:
committed by
Timur Gagiev
parent
ce0c4c0970
commit
85ff46944f
@@ -1,4 +1,4 @@
|
||||
#include <string.h>
|
||||
#include <string.h>
|
||||
#include <cstdlib>
|
||||
#include <malloc.h>
|
||||
|
||||
@@ -76,7 +76,7 @@ bool sndInit() {
|
||||
|
||||
audoutStartAudioOut();
|
||||
|
||||
threadCreate(&sndThread, sndFill, NULL, 0x4000, 0x2B, 2);
|
||||
threadCreate(&sndThread, sndFill, NULL, NULL, 0x4000, 0x2B, 2);
|
||||
threadStart(&sndThread);
|
||||
|
||||
return true;
|
||||
@@ -311,7 +311,7 @@ void makeCacheDir(char *elfPath) {
|
||||
// make directory by full path
|
||||
strcpy(cacheDir, buf + start);
|
||||
strcat(cacheDir, "/cache/");
|
||||
fsFsCreateDirectory(fsdevGetDefaultFileSystem(), cacheDir);
|
||||
fsFsCreateDirectory(fsdevGetDeviceFileSystem("sdmc"), cacheDir);
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
|
Reference in New Issue
Block a user