Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak padding requirements for ROM uploads on the 64Drive + EverDrive #108

Closed
buu342 opened this issue Apr 12, 2023 · 1 comment
Closed
Labels
Bug Something isn't working Implemented This has been fixed but not yet published/pushed UNFLoader This is related to the UNFLoader tool

Comments

@buu342
Copy link
Owner

buu342 commented Apr 12, 2023

I was under the impression that:

  1. 64Drive requires nearest power of 2 padding to prevent ROM corruption
  2. EverDrive has no padding requirements

Both of these assumptions are wrong:

  1. 64Drive only requires padding to the nearest 512 bytes and then an extra 512 byte saftey buffer like when uploading random data via USB.
  2. EverDrive requires 512 byte padding

This will require changing the rom padding function to return the new size as opposed to just true/false.

@buu342 buu342 added Bug Something isn't working UNFLoader This is related to the UNFLoader tool labels Apr 12, 2023
@buu342 buu342 closed this as completed in bae5394 Apr 12, 2023
@buu342
Copy link
Owner Author

buu342 commented Apr 12, 2023

Fixed in bae5394.

@buu342 buu342 added the Implemented This has been fixed but not yet published/pushed label Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Implemented This has been fixed but not yet published/pushed UNFLoader This is related to the UNFLoader tool
Projects
None yet
Development

No branches or pull requests

1 participant