Page 1 of 1
Memory card access problem
Posted: April 26th, 2017, 1:51 pm
by hack66
I have a problem accessing the memory card after loading an exploited xs moto save file. I have embedded an exe in the save file and I can get it to run but it thinks the card is disconnected.
When I load the exe into an emulator directly the memory card is accessible.
Re: Memory card access problem
Posted: April 26th, 2017, 8:45 pm
by Administrator
I haven't done too much with the Memory Card libraries yet, but I remember many developers having a nightmare of a time getting them to work properly without freezing. The routines you're using I believe are the old method. The new method involves using libcard directly. You need to be very careful with the interrupts though because they are loaded in a certain order and un-loaded in reverse order. If you get it wrong, the PlayStation freezes, libpad crashes or libcard crashes. It's mentioned in the BBS documents from Sony. I'd start to first off add printf's with some VSync's to find exactly where it's freeing for you.