mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
InputCommon: Get rid of static strings.
This commit is contained in:
@ -293,7 +293,7 @@ std::string Joystick::Axis::GetName() const
|
||||
|
||||
std::string Joystick::Hat::GetName() const
|
||||
{
|
||||
static char tmpstr[] = "Hat . .";
|
||||
char tmpstr[] = "Hat . .";
|
||||
tmpstr[4] = (char)('0' + m_index);
|
||||
tmpstr[6] = "NESW"[m_direction];
|
||||
return tmpstr;
|
||||
|
Reference in New Issue
Block a user