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

Implement resetting DI via HW_RESETS #9848

Merged
merged 1 commit into from Jul 7, 2021

Conversation

Pokechu22
Copy link
Contributor

@Pokechu22 Pokechu22 commented Jun 27, 2021

This PR implements resetting DI via HW_RESETS. This is mainly used for Wii homebrew that bypasses IOS (for instance, CleanRip now runs correctly in Dolphin, in case you want to copy dumped files in a slow, inconvenient way), but I also changed the implementation of IOS's DVDLowReset to use the MMIOs directly. This also meant I needed to implement the starlet GPIOs, which Wiibrew says use the same backing value as the broadway-accessible ones; I haven't done any hardware testing on that recently, but my implementation at least seems to work.

Source/Core/Core/IOS/DI/DI.cpp Outdated Show resolved Hide resolved
DVDInterface::EjectDisc(DVDInterface::EjectCause::Software);
}
// SENSOR_BAR is checked by WiimoteEmu::CameraLogic
// TODO: AVE, SLOT_LED
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(How would handling SLOT_LED even work? 👀)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe for gaming PCs, making the excessive number of LEDs flash bright blue? There probably isn't a reasonable way to actually implement it, but it's still worth noting that it isn't implemented yet.

@leoetlino leoetlino merged commit 2c66a08 into dolphin-emu:master Jul 7, 2021
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants