diff --git a/Source/Core/DolphinWX/src/MemcardManager.cpp b/Source/Core/DolphinWX/src/MemcardManager.cpp index 84cfa89c75..f84dff9ed2 100644 --- a/Source/Core/DolphinWX/src/MemcardManager.cpp +++ b/Source/Core/DolphinWX/src/MemcardManager.cpp @@ -276,8 +276,8 @@ void CMemcardManager::ReloadMemcard(const char *fileName, int card) } } - wxBitmap map = wxBitmapFromMemoryRGBA((u8*)pxdata,96,32); - images[i*2+1] = list->Add(map); + wxBitmap icon = wxBitmapFromMemoryRGBA((u8*)pxdata,96,32); + images[i*2+1] = list->Add(icon); } }