From 0e725c0860beb7a2a1a49bffd266a026bdce1f2a Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 10 Aug 2015 12:33:49 +0200 Subject: [PATCH] USBGecko: don't needlessly call StringFromFormat() --- Source/Core/Core/HW/EXI_DeviceGecko.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/HW/EXI_DeviceGecko.cpp b/Source/Core/Core/HW/EXI_DeviceGecko.cpp index f364e7b78b..767ef9b785 100644 --- a/Source/Core/Core/HW/EXI_DeviceGecko.cpp +++ b/Source/Core/Core/HW/EXI_DeviceGecko.cpp @@ -163,13 +163,13 @@ void CEXIGecko::ImmReadWrite(u32 &_uData, u32 _uSize) switch (_uData >> 28) { case CMD_LED_OFF: - Core::DisplayMessage(StringFromFormat( - "USBGecko: No LEDs for you!"), + Core::DisplayMessage( + "USBGecko: No LEDs for you!", 3000); break; case CMD_LED_ON: - Core::DisplayMessage(StringFromFormat( - "USBGecko: A piercing blue light is now shining in your general direction"), + Core::DisplayMessage( + "USBGecko: A piercing blue light is now shining in your general direction", 3000); break;