mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-24 07:40:26 +01:00
fs.mitm: make HBL web content work (verified on hw)
This commit is contained in:
parent
fce2099d7d
commit
79244078a6
1
Makefile
1
Makefile
@ -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
|
||||
|
@ -0,0 +1 @@
|
||||
^http*
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user