Skip to content

Conversation

@gcsmith
Copy link
Contributor

@gcsmith gcsmith commented Jan 18, 2026

Some caveats:

  • librecomp/files.hpp is used directly in recomps so this is API breaking. however, I could leave a files.hpp in librecomp that aliases the ultramodern functions in the recomp namespace
  • with the save API moved to ultramodern I had to use copy buffers and use save_read_ptr and save_write_ptr throughout rather than directly accessing rdram

I don't think there's anything stopping us from having a mechanism to perform byte-swapped rdram copies on the ultramodern side, but this sticks to the existing convention of leaving that responsibility to librecomp and using proxies in those cases.

@gcsmith gcsmith changed the title Save api Move save API from librecomp to ultramodern Jan 18, 2026
@gcsmith
Copy link
Contributor Author

gcsmith commented Jan 18, 2026

For context, this change is to support adding the ControllerPak logic to ultramodern. It also adds functionality that would be desirable for the fully native mode (e.g., for source ports).

Leaving EEPROM / PI / flash migration for a future PR to keep the scope reasonable.

This was referenced Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant