summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/GameListCtrl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.cpp b/Source/Core/DolphinWX/Src/GameListCtrl.cpp
index 5ad6eab314..e88fe456b2 100644
--- a/Source/Core/DolphinWX/Src/GameListCtrl.cpp
+++ b/Source/Core/DolphinWX/Src/GameListCtrl.cpp
@@ -360,6 +360,8 @@ void CGameListCtrl::OnPaintDrawImages(wxPaintEvent& event)
wxControl::OnPaint(event);
// Draw the flags, platform icons and emustate icons on top if there's games to show
+ if (m_ISOFiles.empty())
+ return;
// Retrieve the topmost shown item and get drawing offsets
const long