-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devicelost: fix using more generic approach
Apparently my original fix only worked for me, because there are multiple sets of Reset calls, and I've only patched one of them. To avoid going through all the executables again, I decided to just detour the Reset function. Idealy we would need to do something like nmlgc/ProxyDLLs, but this should work for now. I tried copying the vtable, but it turned out to be a bad idea, because the size of vtable is unknown. The only other way, besides creating a proxy object, is editing the vtable directly.
- Loading branch information
Showing
2 changed files
with
62 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters