ewf: support for FTYPE irp and file seeking, fix mono quirks (#120)

Fixes #116
Requires https://gitea.tendokyu.moe/TeamTofuShop/capnhook/pulls/7

This implements file seeking for files inside virtual files from ewfhook, as well as fixes a mono implementation detail where it changes it's behaviour based on the result of GetFileType. see capnhook PR for more info.

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/120
Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
This commit is contained in:
kyoubate-haruka
2026-08-10 15:43:39 +00:00
committed by Dniel97
parent 31c184adf7
commit beb54c57c3
3 changed files with 98 additions and 24 deletions
+1
View File
@@ -149,6 +149,7 @@ static HMODULE WINAPI hook_LoadLibraryW(const wchar_t *name)
dll_hook_insert_hooks(result);
path_hook_insert_hooks(result);
iohook_apply_hooks(result);
reg_hook_insert_hooks(result);
clock_hook_insert_hooks(result);