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

Add option for overriding MBC type #13

Merged
merged 3 commits into from
Nov 29, 2024
Merged

Add option for overriding MBC type #13

merged 3 commits into from
Nov 29, 2024

Conversation

Rodrigodd
Copy link
Owner

You can know pass, for example, --mbc='MBC1,0x8000,0x2000' to the cli to override the mbc type, rom size and ram size.

Fix #12.

Will now deduce the size of the rom and ram if they are invalid, and
ignore things like the header checksum. In does cases `Cartridge::new`
will return a `Err((erro, Some(cartridge)))`. The ui frontned is just
printing the error message and using the cartridge, but ideally it would
prompt the user for confirmation.
You can know pass, for example, `--mbc='MBC1,0x8000,0x2000'` to the cli
to override the mbc type, rom size and ram size.
@Rodrigodd Rodrigodd merged commit 93431c4 into master Nov 29, 2024
4 checks passed
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.

[Feature Request] Add an override for unsupported ROM size.
1 participant