File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ CLocatorAPI::archive::xr_sqfs::reader* CLocatorAPI::archive::xr_sqfs::alloc(cons
5353{
5454 reader* rd = xr_new<reader>();
5555
56- R_ASSERT (!sqfs_file_open (&rd->file , arc.path .c_str (), SQFS_FILE_OPEN_READ_ONLY));
56+ R_ASSERT (!sqfs_file_open (&rd->file , arc.path .c_str (), SQFS_FILE_OPEN_READ_ONLY | SQFS_FILE_OPEN_NO_CHARSET_XFRM ));
5757
5858 rd->dr = sqfs_dir_reader_create (&arc.fs ->super , arc.cmp , rd->file , 0 );
5959 rd->data = sqfs_data_reader_create (rd->file , arc.fs ->super .block_size , arc.cmp , 0 );
@@ -224,7 +224,7 @@ void CLocatorAPI::archive::open_sqfs()
224224 type = container::SQFS;
225225 fs = xr_new<xr_sqfs>();
226226
227- R_ASSERT (!sqfs_file_open (&file, path.c_str (), SQFS_FILE_OPEN_READ_ONLY));
227+ R_ASSERT (!sqfs_file_open (&file, path.c_str (), SQFS_FILE_OPEN_READ_ONLY | SQFS_FILE_OPEN_NO_CHARSET_XFRM ));
228228 R_ASSERT (!sqfs_super_read (&fs->super , file));
229229
230230 sqfs_compressor_config_t cfg;
You can’t perform that action at this time.
0 commit comments