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

Set 0x0000002C to NDEV 2.1 when running a debug-signed Wii disc #7092

Merged
merged 1 commit into from Jun 7, 2018

Conversation

JosJuice
Copy link
Member

@JosJuice JosJuice commented Jun 7, 2018

This fixes the The Last Story prototype that @GerbilSoft was testing, because the apploader is a bit more lenient with the max size of DOL sections when it detects that you're using a devkit console.

@@ -22,7 +22,7 @@ bool CBoot::BootNANDTitle(const u64 title_id)
});

auto* ios = IOS::HLE::GetIOS();
SetupWiiMemory();
SetupWiiMemory(false);

This comment was marked as off-topic.

@@ -116,7 +116,7 @@ class CBoot
static bool Load_BS2(const std::string& boot_rom_filename);

static void SetupGCMemory();
static bool SetupWiiMemory();
static bool SetupWiiMemory(bool devkit);

This comment was marked as off-topic.

@GerbilSoft
Copy link
Contributor

Here's a screenshot of The Last Story v2340 running in Dolphin with this patch:
screenshot_20180607_020846 dolphin-emu tls-v2340

This fixes the The Last Story prototype that GerbilSoft was testing,
because the apploader is a bit more lenient with the max size of DOL
sections when it detects that you're using a devkit console.
@delroth
Copy link
Member

delroth commented Jun 7, 2018

LGTM. Would appreciate if @leoetlino reviewed the IOS/ES-heavy parts of the code before merging, but the logic made sense to me. Thanks!

@dolphin-emu dolphin-emu deleted a comment from jjeedd34 Jun 7, 2018
@leoetlino leoetlino merged commit dd7c558 into dolphin-emu:master Jun 7, 2018
@RenaKunisaki
Copy link
Contributor

If this is just a matter of setting a memory address, could there not be a UI option to select the console type?

@leoetlino
Copy link
Member

There is no real reason for users to change this. It could even break stuff depending on what assumptions games make.

@JosJuice JosJuice deleted the wii-devkit branch June 8, 2018 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants