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

Fixes ARM CPU detection routine for the hardware. #1394

Merged
merged 1 commit into from Oct 27, 2014

Conversation

Sonicadvance1
Copy link
Contributor

We weren't dropping a newline character from the string, we were cutting off the last character of the hardware name.
This fixes my TK1 being called 'lagun' when it's name is 'laguna'

We weren't dropping a newline character from the string, we were cutting off the last character of the hardware name.
This fixes my TK1 being called 'lagun' when it's name is 'laguna'
@BhaaLseN
Copy link
Member

Shouldn't we rather check for a newline and drop that then? That code must have been there for a reason. Something like trim or chomp that gets rid of it?

@Sonicadvance1
Copy link
Contributor Author

You say it must have been there for a reason, but I wrote the code so it probably wasn't a good reason.

@BhaaLseN
Copy link
Member

Uh okay, fine by me then :)

Sonicadvance1 added a commit that referenced this pull request Oct 27, 2014
Fixes ARM CPU detection routine for the hardware.
@Sonicadvance1 Sonicadvance1 merged commit 043bd71 into dolphin-emu:master Oct 27, 2014
@Sonicadvance1 Sonicadvance1 deleted the fix-arm-cpudetect branch October 27, 2014 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants