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

GUI: Re-enable the Tools -> Load Wii System Menu option on emulator start. #2574

Conversation

AdmiralCurtiss
Copy link
Contributor

This re-enables the Tools -> Load Wii System Menu option on emulator start, which I believe was broken when D_SESSION_WIIROOT_IDX was introduced in dc91e8b. Since that commit, the option was greyed-out when first starting the emulator and was only enabled when a Wii game booted. (UpdateWiiMenuChoice() in FrameTools.cpp uses the regular GetNANDLoader() function, which always uses the session WiiRoot, which was only initialized on game boot.)

I assume it's fine to just initialize it immediately? It'll be re-set in InitializeWiiRoot() anyway.

@Parlane
Copy link
Member

Parlane commented Jun 8, 2015

@dolphin-emu-bot rebuild

@comex
Copy link
Contributor

comex commented Jun 9, 2015

AFAIK this is wrong because it will break if directories are changed midgame (we don't block that, do we?), causing RebuildUserDirectories to be called, which will set the wrong path if it's a netplay game - and even if it's not, it would make more sense to keep the old directory for the remainder of the game rather than breaking the game's view of the filesystem, which is why I set it up that way.

Better to fix the system menu launcher a different way.

@AdmiralCurtiss
Copy link
Contributor Author

Okay, sure. Is it better like this?

…tart.

I believe this was broken when D_SESSION_WIIROOT_IDX was introduced in dc91e8b.
@AdmiralCurtiss AdmiralCurtiss changed the title Initialize session-specific WiiRoot path to regular WiiRoot path. GUI: Re-enable the Tools -> Load Wii System Menu option on emulator start. Jun 9, 2015
@AdmiralCurtiss
Copy link
Contributor Author

Okay, now it should be fine.

@RisingFog
Copy link
Member

@dolphin-emu-bot rebuild

@AdmiralCurtiss
Copy link
Contributor Author

FYI #2642 is doing pretty much the same thing, as far as I can tell, but more generally. That's probably better than this.

@JosJuice
Copy link
Member

#3139 has been merged with the changes from #2642, so this PR isn't necessary anymore.

@AdmiralCurtiss AdmiralCurtiss deleted the reenable-sysmenu-boot-option branch October 17, 2015 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants