Commit graph

15 commits

Author SHA1 Message Date
srkizer
9092e36b33
Reduce usage of exceptions from Boot (#2373)
* wip

* make pretty

* Remove CRT version check from IM

* fix

* Simplify IsDebuggerPresent hook
2025-08-15 00:02:32 -07:00
Soreepeong
c8be22e284 Do FlushInstructionCache after WriteProcessMemory
While not calling this will work on native x64 machines as it's likely
a no-op under x64, it is possible that the function does something
under emulated environments. As there is no downside to calling this
function, this commit makes the behavior more correct.
2024-02-15 15:42:30 +09:00
Soreepeong
7e78b6293b Make RewriteRemoteEntryPointW report IErrorInfo, VirtualProtectEx before WriteProcessMemory 2024-02-13 08:35:51 +09:00
srkizer
0cc28fb39d
Changes to Dalamud Boot DLL so that it works in WINE (#1111)
* Changes to Dalamud Boot DLL so that it works in WINE

* Make asm clearer
2024-02-12 12:56:38 -08:00
kizer
8e7f370ddd
Load services asynchronously whenever possible (#893) 2022-06-24 22:12:51 +02:00
kizer
2f4c0bbc97
Update logging to reflect msvc updates on std::format (#883) 2022-06-17 10:28:10 +02:00
kizer
71f3680388
Fix nullptr problems (#878) 2022-06-04 13:45:22 +02:00
goaaats
7d49ebfc3c
fix: continue main thread on C++ side again, circumvents a race condition - we should fix this for good! 2022-06-03 17:45:54 +02:00
kizer
75de126c9d
Implement xiv fixes into Dalamud.Boot (#857) 2022-05-28 19:11:03 +02:00
goaaats
d2335274ee
feat: delay main thread continuation until GameFixes are applied
This is a temporary workaround until we have infrastructure to intercept winapi in C++
2022-05-27 14:12:15 +02:00
Soreepeong
dffca6eb50 Disable normalizing to dos path and workaround no support for GetMappedImagePath on WINE 2022-03-10 18:59:49 +09:00
Soreepeong
e64cc7e687 Print dotnet stack trace on veh error msgbox, and use precompiled headers. 2021-12-24 12:23:23 +09:00
Soreepeong
d0680bf1f7 Add RewriteRemoteEntryPointW and deprecate RewriteRemoteEntryPoint 2021-12-09 10:08:31 +09:00
Soreepeong
97475f24b9 Not only wait for game window to be created but also to be shown 2021-11-12 23:11:12 +09:00
Soreepeong
79ddc5dd31 Add loading via entrypoint 2021-11-12 17:19:37 +09:00