Open tommai78101 opened 1 year ago
I suspect this would also happen with TAStudio or with Lua's screenshot-to-socket.
I believe this was "fixed" in https://github.com/TASEmulators/BizHawk/commit/3c168ed64cf28dce7da81ab39f3e43e5f4034658
Note of course this fix pretty much just makes it so if a client screenshot is attempted to be done, it will just return a 1x1 blank screenshot (keep in mind a minimized window is 0x0 resolution, so any kind of client screenshotting done at this point would be nonsense)
Summary
When EmuHawk is minimized while Basic Bot is running in the background, SlimDX will complain about an unhandled error (
D3DERR_INVALIDCALL
).Repro
Both BizHawk v2.8 and BizHawk v2.9:
Output
I used Visual Studio 2022 attached to EmuHawk to reproduce this stack trace. I hoped it helps.
Host env.