marinesciencedude / xenia-canary-mousehook

Xbox 360 Emulator Research Project, Mousehook included
https://xenia.jp
Other
35 stars 3 forks source link

Can no longer alert about bindings.ini failing to load due to C2440 'type cast' conversion error #4

Closed marinesciencedude closed 1 year ago

marinesciencedude commented 1 year ago

Validation

Describe what's going wrong

As mentioned in https://github.com/marinesciencedude/xenia-canary-mousehook/commit/7388768e9cd1803cc2f3c614fd68e5112096e038, MessageBox(((xe::ui::Win32Window*)window)->hwnd() throws error C2440: 'type cast': cannot convert from 'overloaded-function' to 'xe::ui::Win32Window *' so will need to be replaced.

Describe what should happen

Pop-up window displays to alert user that Xenia failed to load bindings.ini file, MouseHook won't have any keys bound!

If applicable, provide a callstack here, especially for crashes

No response

If applicable, upload a logfile and link it here

No response