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

EXI: Remove pointless PauseAndLock functions #11996

Conversation

Dentomologist
Copy link
Contributor

The ExpansionInterfaceManager::PauseAndLock function does nothing but call other functions that have no effect.

ExpansionInterfaceManager::PauseAndLock calls CEXIChannel::PauseAndLock, which in turn calls IEXIDevice::PauseAndLock. None of the classes deriving from IEXIDevice override PauseAndLock, and the implementation in IEXIDevice does nothing.

The ExpansionInterfaceManager::PauseAndLock function does nothing but
call other functions that have no effect.

ExpansionInterfaceManager::PauseAndLock calls CEXIChannel::PauseAndLock,
which in turn calls IEXIDevice::PauseAndLock. None of the classes
deriving from IEXIDevice override PauseAndLock, and the implementation
in IEXIDevice does nothing.
@AdmiralCurtiss
Copy link
Contributor

I agree that this looks pretty pointless at the moment. I've been trying to trace this back in the history to a point where it actually had anything, and I only found something in the Memory Card class, which was removed in bd7f856. So this is probably fine.

@AdmiralCurtiss AdmiralCurtiss merged commit b6bfa10 into dolphin-emu:master Aug 18, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants