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

DSPTables: Hide remaining opcode tables #4757

Merged
merged 2 commits into from
Jan 27, 2017
Merged

Conversation

lioncash
Copy link
Member

Hides the main information opcodes from being seen in external scope and presents an API for using the tables.

One consideration that could also be preferable, is that the OpcodeType enum could be moved to DSPTables and the Find functions can be reduced from four to two functions by combining both find-by-opcode functions and find-by-name functions into one another with an OpcodeType parameter to determine which table to look through. I kept them separately for the time being in case the separation is preferred.

@lioncash lioncash force-pushed the dsptables branch 2 times, most recently from 28a04fa to d98b7b7 Compare January 26, 2017 06:49
return FindOpInfoByName(name);

return FindExtOpInfoByName(name);
}();

This comment was marked as off-topic.

Copy link
Member

@degasus degasus left a comment

Choose a reason for hiding this comment

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

Else a nice cleanup

@Parlane Parlane merged commit 06728ad into dolphin-emu:master Jan 27, 2017
@lioncash lioncash deleted the dsptables branch January 27, 2017 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants