From c5b8212800d27b98a673075cc83aacf4424d5db7 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Tue, 3 Apr 2012 14:53:40 +0000 Subject: [PATCH] -when in DML USB view, it will display if the game is already on SD card by adding "(on SD)" behind the game title (you need to reload cache for it to work) (issue 22) --- source/list/list.cpp | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/source/list/list.cpp b/source/list/list.cpp index 0315fd4e..4bb27cad 100644 --- a/source/list/list.cpp +++ b/source/list/list.cpp @@ -4,6 +4,7 @@ #include "config.hpp" #include "defines.h" #include "channels.h" +#include "gc.h" template void CList::GetPaths(safe_vector &pathlist, string containing, string directory, bool wbfs_fs) @@ -148,7 +149,7 @@ void CList::GetHeaders(safe_vector pathlist, safe_vector 0 || ( gameTDB.IsLoaded() && gameTDB.GetTitle( (char *)tmp.hdr.id, GTitle ) ) ) - { + { mbstowcs( tmp.title, GTitle.c_str(), sizeof(tmp.title) ); Asciify( tmp.title ); if(gc_disc[0]) @@ -162,17 +163,24 @@ void CList::GetHeaders(safe_vector pathlist, safe_vector::GetHeaders(safe_vector pathlist, safe_vector