satiator / satiator-menu

Menu for the Satiator cartridge for Sega Saturn
Mozilla Public License 2.0
95 stars 6 forks source link

How to Test API? #2

Open slinga-homebrew opened 4 years ago

slinga-homebrew commented 4 years ago

I compiled satiator-yabause and I'm trying to test out the Satiator API. Are there instructions available anywhere? Do I need to use specific CMake options?

In my test code:

int result = s_mode(S_MODE_USBFS);

returns 0.

char buffer[32] = {0};
int bufLen = sizeof(buffer);
result = s_get_fw_version(buffer, bufLen);

returns 0xffffff01

I'm in the process of rewriting my Save Game Copier so I figured I would attempt to add Satiator support.

abrasive commented 4 years ago

The entire API needs docs. I'll do this when I split it out per #1