Merge pull request #2827 from Tilka/misc
USBGecko: don't needlessly call StringFromFormat()
This commit is contained in:
commit
d2413cd3de
|
@ -163,13 +163,13 @@ void CEXIGecko::ImmReadWrite(u32 &_uData, u32 _uSize)
|
||||||
switch (_uData >> 28)
|
switch (_uData >> 28)
|
||||||
{
|
{
|
||||||
case CMD_LED_OFF:
|
case CMD_LED_OFF:
|
||||||
Core::DisplayMessage(StringFromFormat(
|
Core::DisplayMessage(
|
||||||
"USBGecko: No LEDs for you!"),
|
"USBGecko: No LEDs for you!",
|
||||||
3000);
|
3000);
|
||||||
break;
|
break;
|
||||||
case CMD_LED_ON:
|
case CMD_LED_ON:
|
||||||
Core::DisplayMessage(StringFromFormat(
|
Core::DisplayMessage(
|
||||||
"USBGecko: A piercing blue light is now shining in your general direction"),
|
"USBGecko: A piercing blue light is now shining in your general direction",
|
||||||
3000);
|
3000);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue