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

CheatSearchTab: Use an enum for filter masks rather than ints #3399

Merged
merged 1 commit into from Dec 29, 2015

Conversation

rabbott99
Copy link
Contributor

Also fixes issue 8974, which was the result of removing the first element of filters[] in #2813.


inline ComparisonMask operator & (ComparisonMask comp1, ComparisonMask comp2)
{
return static_cast<ComparisonMask>( static_cast<int>(comp1) &

This comment was marked as off-topic.

// 6 : not equal
static const int filters[] = { 6, 1, 2, 4 };
int filter_mask = filters[m_search_type->GetSelection()];
static const ComparisonMask filters[] = { ComparisonMask::EQUAL | ComparisonMask::GREATER_THAN | ComparisonMask::LESS_THAN, // Unknown

This comment was marked as off-topic.

skidau added a commit that referenced this pull request Dec 29, 2015
CheatSearchTab: Use an enum for filter masks rather than ints
@skidau skidau merged commit 88c2900 into dolphin-emu:master Dec 29, 2015
@rabbott99 rabbott99 deleted the cheat-search branch January 12, 2016 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants