memory card saves crash wii.

Issue #71 wontfix
Former user created an issue

Original [issue 71](https://code.google.com/p/genplus-gx/issues/detail?id=71) created by kehkou on 2010-04-14T09:02:10.000Z:

What steps will reproduce the problem? 1.choose state manager 2.choose memcard a 3.choose save state

What is the expected output? save and return to game.

What do you see instead? perpetual state manager screen (bg music continues) have to hard reset wii.

What version of the emulator are you using? r431 wii

Please provide any additional information below (video settings, console region,...) ntsc-u console and video settings. same result with both official and 3rd party gc mem cards.

Comments (7)

  1. Former user Account Deleted

    Comment # 2 originally posted by ekeeke31 on 2010-04-14T11:00:03.000Z:

    Dit it happen in previous versions ? because absolutely nothing has changed regarding memory card support since the last official release.

  2. Former user Account Deleted

    Comment # 3 originally posted by ekeeke31 on 2010-04-14T12:33:37.000Z:

    Fixed in r435.

    For further reference, it was due to 2 things:

    (1) memory card encryption was disabled by writing to gamecube EXI base address (Wii hardware uses a different address) (2) the return status of the CARD\_GetSectorSize function was not checked which could lead to infinite loop in case of error.

  3. Former user Account Deleted

    Comment # 4 originally posted by ekeeke31 on 2010-04-16T07:36:51.000Z:

    issue \#72 has been merged into this issue.

  4. Former user Account Deleted

    Comment # 6 originally posted by kehkou on 2010-04-16T07:49:02.000Z:

    k,thanx. sorry 'bout the duplicate. i used the latest libogc with 3rd party classic controller mod.thats probably the source of my issue. i have an sd card. i just use the memcard to compensate for the lack of saveslots.

  5. Former user Account Deleted

    Comment # 7 originally posted by ekeeke31 on 2010-04-16T08:08:20.000Z:

    For the record, I got issues too, even with the latest libogc from SVN. It was when trying to load a savestate which did not exist: instead of giving me an error saying the file was not found, it hanged somewhere in the code, probably trying to read a nun-existent file.

    The problem is that there is nothing in my code that can explain the infinite loop and as I said, there haven't been any changes since the last official release, I only secured some parts I reviewed in the last revisions. More over, the issue is not constant and I successfully saved/loaded state files on the memory card.

    The reason is probably that Wii memory card support in libogc is quite unstable or have been modified: I know they commited some fixes lastly, it might have introduced some issues while fixing others, I really don't know. It might also be relate dto memory card types (official or not, sector size, format, free space, etc).

  6. Log in to comment