HW: Change u8 pad specifier params to int where applicable

Using u8 as indexers is kind of silly, since the rest of the public API
essentially uses int for this sort of thing. Changing these to int also
gets rid of quite a few implicit truncations.

This also allows for getting rid of similar silliness in the netplay API.
This commit is contained in:
Lioncash
2016-10-07 07:49:32 -04:00
parent 3c822f2c55
commit 9cab4e414c
10 changed files with 37 additions and 37 deletions

View File

@ -47,7 +47,7 @@ void LoadConfig()
s_config.LoadConfig(true);
}
KeyboardStatus GetStatus(u8 port)
KeyboardStatus GetStatus(int port)
{
return static_cast<GCKeyboard*>(s_config.GetController(port))->GetInput();
}