From f50ea590cead7cdd41e5d6c9d71922f1de8058d4 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Fri, 2 Dec 2011 00:05:44 +0100 Subject: [PATCH] Don't use the same name for two different local variables. This avoids a warning when compiling with GCC. --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp index cba8274347..83c7544734 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp @@ -509,11 +509,11 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress) File::IOFile pFile(TicketFilename, "rb"); if (pFile) { - u8 Ticket[DiscIO::INANDContentLoader::TICKET_SIZE]; - for (unsigned int View = 0; View != maxViews && pFile.ReadBytes(Ticket, DiscIO::INANDContentLoader::TICKET_SIZE); ++View) + u8 FileTicket[DiscIO::INANDContentLoader::TICKET_SIZE]; + for (unsigned int View = 0; View != maxViews && pFile.ReadBytes(FileTicket, DiscIO::INANDContentLoader::TICKET_SIZE); ++View) { Memory::Write_U32(View, Buffer.PayloadBuffer[0].m_Address + View * 0xD8); - Memory::WriteBigEData(Ticket+0x1D0, Buffer.PayloadBuffer[0].m_Address + 4 + View * 0xD8, 212); + Memory::WriteBigEData(FileTicket+0x1D0, Buffer.PayloadBuffer[0].m_Address + 4 + View * 0xD8, 212); } } }