emukidid / swiss-gc

Swiss - The swiss army knife of GameCube homebrew
GNU General Public License v2.0
1.23k stars 93 forks source link

[Issue]: Error "Failed to write! (-11)" when copying save to memory card. #803

Closed Jdbye closed 1 year ago

Jdbye commented 1 year ago

Describe the bug

Backing up saves (copying them from the memory card to the SD card) works no issues, when restoring them it gives the error: Failed to write! (-11) carda:/save.gci

The save appears on the memory card though, and when I launch the game, the save is there. But frequently when a restore is attempted, the console crashes with an Exception (DSI) occurred, sometimes immediately, sometimes on the second or third save copied in a row.

It's odd that the save seems to be copied perfectly fine and yet it throws an error. Presumably, the error is preventing it from freeing up memory and that leads to the DSI Exception when it runs out of memory, but I don't really know.

I use an official 1019 block memory card, and the latest version of Swiss (downloaded just earlier today)

Steps to reproduce

Expected behavior

I'd expect there to be no crashes or errors.

Relevant log output

No response

Add screenshots

P_20230420_010826_1_1

Extrems commented 1 year ago

Duplicate of issue #698.