Make DX9 and DX11 Cursor/Upscaling hooking code consistent
Nintynuts opened this issue · comments
Originally posted by @davegl1234 in #156 (comment)
Regarding the gedosato code, the functionality that was actually needed for DX9 I've since reimplemented, but functionally different (so no concerns there). E.g Rather than hooking GetMessage, PeakMessage, and the SetWindowLong wndproc stuff, I am replacing the wndproc of the window and forwarding (manipulated) messages to the real wndproc. So I can probably replace the gedosato stuff with this, to avoid the licensing issues.
I guess we should have DX9/DX11 using the same cursor/upscaling hooking code anyway, right?
@davegl1234 Sounds good. Please go ahead and do this, then once the GeDoSaTo code is removed I'll be able to reinstate the MIT license.