Closed hjri closed 2 years ago
Since the net portion is getting too large I wanted to move it to it's own class/file but i've been quite busy. If this is functional I'll merge now.
It's functional, yeah. I'm still not sure how to properly handle the "shutter open" status, and i forgot to test "no card got inserted within time frame" situation back when i was originally testing it.
Thanks!
I cannot into C++, tried passing
cardHandler
and using itsHasCard()
directly but i don't know C++ enough to make it work, therefore I just addedhasCard
variable/property intoCardIO::Settings
that is only updated via moving card. Similarly addedwaitingForCard
to show whether card reader is inWAITING_FOR_CARD
mode, might be a bit janky since i'm not entirely sure when it's supposed to be reset, but seems to be working on WMMT3DX+ at least.POST insertedCard
now also hasloadonly
parameter so that you can tell emulator to load specific file without "inserting" it - this way you can prime the emulator to writing into specific file while game creates new card, trying to forcefully "insert" a card while game tries to make new card will result in error.Also adds some logging to see what's going on with emulator without having to enable debugging/poll the API.
Fixes #12 and #13