fs.mitm: make HBL web content work (verified on hw)

This commit is contained in:
Michael Scire 2019-03-22 16:54:37 -08:00
parent fce2099d7d
commit 79244078a6
3 changed files with 2 additions and 6 deletions

View File

@ -64,6 +64,7 @@ dist: all
cp common/defaults/loader.ini atmosphere-$(AMSVER)/atmosphere/loader.ini
cp common/defaults/system_settings.ini atmosphere-$(AMSVER)/atmosphere/system_settings.ini
cp -r common/defaults/kip_patches atmosphere-$(AMSVER)/atmosphere/kip_patches
cp -r common/defaults/hbl_html atmosphere-$(AMSVER)/atmosphere/hbl_html
cp stratosphere/creport/creport.nsp atmosphere-$(AMSVER)/atmosphere/titles/0100000000000036/exefs.nsp
cp stratosphere/fatal/fatal.nsp atmosphere-$(AMSVER)/atmosphere/titles/0100000000000034/exefs.nsp
cp stratosphere/eclct.stub/eclct.stub.nsp atmosphere-$(AMSVER)/atmosphere/titles/0100000000000032/exefs.nsp

View File

@ -0,0 +1 @@
^http*

View File

@ -92,9 +92,6 @@ class IFileSystem {
}
Result OpenFile(std::unique_ptr<IFile> &out_file, FsPath &path, OpenMode mode) {
if (out_file == nullptr) {
return ResultFsNullptrArgument;
}
if (!(mode & OpenMode_ReadWrite)) {
return ResultFsInvalidArgument;
}
@ -105,9 +102,6 @@ class IFileSystem {
}
Result OpenDirectory(std::unique_ptr<IDirectory> &out_dir, FsPath &path, DirectoryOpenMode mode) {
if (out_dir == nullptr) {
return ResultFsNullptrArgument;
}
if (!(mode & DirectoryOpenMode_All)) {
return ResultFsInvalidArgument;
}