kraken: Address comments from review
Fix compiler bug
This commit is contained in:
parent
f4e5f89e6f
commit
42949738f2
17 changed files with 54 additions and 66 deletions
|
@ -929,7 +929,7 @@ std::string SDLDriver::GetHatButtonName(u8 direction_value) const {
|
|||
}
|
||||
}
|
||||
|
||||
u8 SDLDriver::GetHatButtonId(const std::string direction_name) const {
|
||||
u8 SDLDriver::GetHatButtonId(const std::string& direction_name) const {
|
||||
Uint8 direction;
|
||||
if (direction_name == "up") {
|
||||
direction = SDL_HAT_UP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue