R2Northstar / NorthstarLauncher

Launcher used to modify Titanfall 2 to allow mods to be loaded
MIT License
271 stars 125 forks source link

Check if hook target is non `null` before calling MinHook #711

Closed Jan200101 closed 1 month ago

Jan200101 commented 1 month ago

MinHook doesn't check this either so it would also be found out when a Winapi function fails.

Lets fail earlier with an error message.