Enabled code which requires devkitA64 a6.

This commit is contained in:
yellows8 2018-01-25 22:16:14 -05:00
parent e78f57d862
commit e1347f367c
3 changed files with 2 additions and 6 deletions

View File

@ -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 */

View File

@ -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();

View File

@ -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();