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 <sys/types.h>
|
||||||
#include "../../services/fs.h"
|
#include "../../services/fs.h"
|
||||||
|
|
||||||
//NOTE: This is currently not usable.
|
|
||||||
|
|
||||||
#define FSDEV_DIRITER_MAGIC 0x66736476 /* "fsdv" */
|
#define FSDEV_DIRITER_MAGIC 0x66736476 /* "fsdv" */
|
||||||
|
|
||||||
/*! Open directory struct */
|
/*! Open directory struct */
|
||||||
|
@ -90,13 +90,13 @@ void __attribute__((weak)) __appInit(void)
|
|||||||
if (R_FAILED(rc))
|
if (R_FAILED(rc))
|
||||||
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS));
|
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS));
|
||||||
|
|
||||||
//fsdevInit();
|
fsdevInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
void __attribute__((weak)) __appExit(void)
|
void __attribute__((weak)) __appExit(void)
|
||||||
{
|
{
|
||||||
// Cleanup default services.
|
// Cleanup default services.
|
||||||
//fsdevExit();
|
fsdevExit();
|
||||||
fsExit();
|
fsExit();
|
||||||
hidExit();
|
hidExit();
|
||||||
appletExit();
|
appletExit();
|
||||||
|
@ -32,11 +32,9 @@ void newlibSetup() {
|
|||||||
__syscalls.lock_init = mutexInit;
|
__syscalls.lock_init = mutexInit;
|
||||||
__syscalls.lock_acquire = mutexLock;
|
__syscalls.lock_acquire = mutexLock;
|
||||||
__syscalls.lock_release = mutexUnlock;
|
__syscalls.lock_release = mutexUnlock;
|
||||||
/*
|
|
||||||
__syscalls.lock_init_recursive = rmutexInit;
|
__syscalls.lock_init_recursive = rmutexInit;
|
||||||
__syscalls.lock_acquire_recursive = rmutexLock;
|
__syscalls.lock_acquire_recursive = rmutexLock;
|
||||||
__syscalls.lock_release_recursive = rmutexUnlock;
|
__syscalls.lock_release_recursive = rmutexUnlock;
|
||||||
*/
|
|
||||||
|
|
||||||
// Initialize thread vars for the main thread
|
// Initialize thread vars for the main thread
|
||||||
ThreadVars* tv = getThreadVars();
|
ThreadVars* tv = getThreadVars();
|
||||||
|
Loading…
Reference in New Issue
Block a user