marinesciencedude / xenia-canary-mousehook

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

InputDriver::is_active() returns true on xenia launch, need different way of determining in-game status #1

Closed marinesciencedude closed 1 year ago

marinesciencedude commented 1 year ago

Validation

Describe what's going wrong

WinKeyInputDriver::GetState is executing through if (window()->HasFocus() && is_active() statement a xe::kernel::kernel_state()->title_id() call immediately upon starting xenia, leading to an assertion fail since executable_module_ has not been set yet.

Describe what should happen

If statement only applies when a game has actually been loaded in.

If applicable, provide a callstack here, especially for crashes

xenia_canary.zip

If applicable, upload a logfile and link it here

xenia.log