mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-15 17:44:25 +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 <cstdlib>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ bool sndInit() {
|
|||||||
|
|
||||||
audoutStartAudioOut();
|
audoutStartAudioOut();
|
||||||
|
|
||||||
threadCreate(&sndThread, sndFill, NULL, 0x4000, 0x2B, 2);
|
threadCreate(&sndThread, sndFill, NULL, NULL, 0x4000, 0x2B, 2);
|
||||||
threadStart(&sndThread);
|
threadStart(&sndThread);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@@ -311,7 +311,7 @@ void makeCacheDir(char *elfPath) {
|
|||||||
// make directory by full path
|
// make directory by full path
|
||||||
strcpy(cacheDir, buf + start);
|
strcpy(cacheDir, buf + start);
|
||||||
strcat(cacheDir, "/cache/");
|
strcat(cacheDir, "/cache/");
|
||||||
fsFsCreateDirectory(fsdevGetDefaultFileSystem(), cacheDir);
|
fsFsCreateDirectory(fsdevGetDeviceFileSystem("sdmc"), cacheDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
|
Reference in New Issue
Block a user