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

SI_DeviceGBA: Minor cleanup #5078

Merged
merged 7 commits into from Mar 13, 2017
Merged

SI_DeviceGBA: Minor cleanup #5078

merged 7 commits into from Mar 13, 2017

Conversation

lioncash
Copy link
Member

Just a little cleanup. Each commit should be fairly self-explanatory.

I'll likely do this for other serial interface classes as well, however considering SI_DeviceGBA and SI_DeviceGCController are significantly larger than the others, I'd like to get those out of the way separately first (starting with SI_DeviceGBA).

This prevents truncation when assigning to this member in the
constructor. This isn't size-critical code, so opting for the more
straightforward assignment is fine here.
Prevents potential recompilation of other files if these ever need to
change.
Prevents potential implicit construction scenarios involving ints.
%zu is the correct specifier for printing size_t.
@degasus degasus merged commit f0c2bae into dolphin-emu:master Mar 13, 2017
@lioncash lioncash deleted the si branch March 13, 2017 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants