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

Boot_BS2Emu: Create an actual function for AppLoaderReport #10922

Merged
merged 3 commits into from Jul 30, 2022

Conversation

Pokechu22
Copy link
Contributor

This changes the behavior of AppLoaderReport HLE to use an actual function that returns immediately with a start HLE hook, instead of no function and the replace hook. There should be no difference now, but if RunApploader is changed to be debuggable, this will be helpful.

I also changed some uses of MASTER_LOG for BOOT, as it has always bothered me that the apploader-related log messages (which are not from AppLoaderReport) aren't logged under BOOT.

Before, we used a replace hook and didn't write anything there. Now, we write a BLR instruction to immediately return, and then use a start hook. This makes the behavior a bit clearer (though it shoudln't matter in practice).
Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss left a comment

Choose a reason for hiding this comment

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

Untested, but I had pretty much the same idea after I asked about this on IRC. Looks good to me.

@AdmiralCurtiss AdmiralCurtiss merged commit 4b6ad97 into dolphin-emu:master Jul 30, 2022
11 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