Add RomFS success variable

This commit is contained in:
Cruel
2015-09-21 15:10:37 -04:00
parent f0ba143a7f
commit 761e74601f
+3 -1
View File
@@ -2,6 +2,8 @@
#include <cpp3ds/System/Service.hpp>
#include <3ds.h>
#include <malloc.h>
#include <sys/unistd.h>
#include <string.h>
namespace cpp3ds {
@@ -39,7 +41,7 @@ bool Service::enable(ServiceName service) {
break;
case ROMFS:
romfsInit();
success = true;
success = strcmp(getcwd(NULL,0), "romfs:/") == 0;
break;
default:
break;