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