bo3b / 3Dmigoto

Chiri's DX11 wrapper to enable fixing broken stereoscopic effects.
Other
688 stars 109 forks source link

Make DX9 and DX11 Cursor/Upscaling hooking code consistent #158

Open Nintynuts opened 2 years ago

Nintynuts commented 2 years ago

Originally posted by @davegl1234 in https://github.com/bo3b/3Dmigoto/issues/156#issuecomment-1129946680

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?

DarkStarSword commented 2 years ago

@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.