mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Enabled code which requires devkitA64 a6.
This commit is contained in:
parent
e78f57d862
commit
e1347f367c
@ -7,8 +7,6 @@
|
||||
#include <sys/types.h>
|
||||
#include "../../services/fs.h"
|
||||
|
||||
//NOTE: This is currently not usable.
|
||||
|
||||
#define FSDEV_DIRITER_MAGIC 0x66736476 /* "fsdv" */
|
||||
|
||||
/*! Open directory struct */
|
||||
|
@ -90,13 +90,13 @@ void __attribute__((weak)) __appInit(void)
|
||||
if (R_FAILED(rc))
|
||||
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS));
|
||||
|
||||
//fsdevInit();
|
||||
fsdevInit();
|
||||
}
|
||||
|
||||
void __attribute__((weak)) __appExit(void)
|
||||
{
|
||||
// Cleanup default services.
|
||||
//fsdevExit();
|
||||
fsdevExit();
|
||||
fsExit();
|
||||
hidExit();
|
||||
appletExit();
|
||||
|
@ -32,11 +32,9 @@ void newlibSetup() {
|
||||
__syscalls.lock_init = mutexInit;
|
||||
__syscalls.lock_acquire = mutexLock;
|
||||
__syscalls.lock_release = mutexUnlock;
|
||||
/*
|
||||
__syscalls.lock_init_recursive = rmutexInit;
|
||||
__syscalls.lock_acquire_recursive = rmutexLock;
|
||||
__syscalls.lock_release_recursive = rmutexUnlock;
|
||||
*/
|
||||
|
||||
// Initialize thread vars for the main thread
|
||||
ThreadVars* tv = getThreadVars();
|
||||
|
Loading…
Reference in New Issue
Block a user