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

Core/Debugger_SymbolMap: Minor interface cleanup #12444

Merged
merged 3 commits into from Dec 18, 2023
Merged

Conversation

lioncash
Copy link
Member

We don't need to pass in both a reference to a System instance and a CPUThreadGuard instance at the same time. We can just pass in the the cpu thread guard and retrieve the system instance from it.

Also removes an unused function and makes GetCallstack() a little nicer by moving callstack entries into the output vector instead of churning copies.

This is wholly unused in current code.
…rface

The CPU thread guard already allows access to the system instance. We can
remove the system parameter to reduce rendundancy here.
This also allows the constructed CallstackEntry instances to be moved into
the output vector, rather than being copied.
@Tilka Tilka merged commit 0cab658 into dolphin-emu:master Dec 18, 2023
11 checks passed
@lioncash lioncash deleted the map branch December 18, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants