Evan Martin
Evan Martin
One idea is you could maybe locally stub out the CreateThread impl such that it never starts the thread in the first place, just to see what happens next. Depends...
My above crash is fixed in 6427aededc6dc4e161b2ad9a93788af3e342e0c5, which now reveals the actual problem was running from the wrong directory ``` MessageBox: PocoMan Can't open PocoMan.map for reading ```
If it helps you any, feel free to send a PR that is just like "here are all the stubs I need". You don't need to send separate PRs for...
Re time, I just monkeyed with it here, maybe I got something wrong: https://github.com/evmar/retrowin32/commit/0c3e48507dc5f6424d5b10b6e230046a4c2095cd Re CloseHandle, I looked at the places where it's called in pocoman and most seemed to...
Hm wait, the call at 0040c77d seems to be the thread function shutting down and is closing a handle found in the Tls, that seems very likely it.
(moving TLS discussion to #70 to not clutter this up)
With https://github.com/evmar/retrowin32/commit/8c1713aff5eedd229aaf1319adb5d96801ae27c2 it now plays "I am pocoman" audio on startup. Might get annoying, we can put it behind a flag if so!
Oh no! I pushed another commit to disable it by default until I have it all working, sorry!
I added a `--audio` flag to the command line, and verified that after clicking through the first screen audio continues to work on the map if you click around. I...
The bitmap code is still gross but I made it a lot less gross in https://github.com/evmar/retrowin32/commit/af32dd4fa1c63638c8dfae5d23db5c2a2e5c85c2 , with a special eye to making StretchBlt easy to implement.