mirror of https://github.com/PCSX2/pcsx2.git
FolderMemoryCard: Reduce console logs.
This commit is contained in:
parent
c651d28cc0
commit
eab49dbfa3
|
@ -78,8 +78,8 @@ void FolderMemoryCard::Open( const wxString& fullPath, const AppConfig::McdOptio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
str = L"[disabled]";
|
// if the user has disabled this slot or is using a different memory card type, just return without a console log
|
||||||
disabled = true;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Console.WriteLn( disabled ? Color_Gray : Color_Green, L"McdSlot %u: [Folder] " + str, m_slot );
|
Console.WriteLn( disabled ? Color_Gray : Color_Green, L"McdSlot %u: [Folder] " + str, m_slot );
|
||||||
|
@ -276,8 +276,6 @@ bool FilterMatches( const wxString& fileName, const wxString& filter ) {
|
||||||
bool FolderMemoryCard::AddFolder( MemoryCardFileEntry* const dirEntry, const wxString& dirPath, MemoryCardFileMetadataReference* parent, const bool enableFiltering, const wxString& filter ) {
|
bool FolderMemoryCard::AddFolder( MemoryCardFileEntry* const dirEntry, const wxString& dirPath, MemoryCardFileMetadataReference* parent, const bool enableFiltering, const wxString& filter ) {
|
||||||
wxDir dir( dirPath );
|
wxDir dir( dirPath );
|
||||||
if ( dir.IsOpened() ) {
|
if ( dir.IsOpened() ) {
|
||||||
Console.WriteLn( L"(FolderMcd) Adding folder: %s", WX_STR( dirPath ) );
|
|
||||||
|
|
||||||
const u32 dirStartCluster = dirEntry->entry.data.cluster;
|
const u32 dirStartCluster = dirEntry->entry.data.cluster;
|
||||||
|
|
||||||
wxString fileName;
|
wxString fileName;
|
||||||
|
@ -388,7 +386,6 @@ bool FolderMemoryCard::AddFolder( MemoryCardFileEntry* const dirEntry, const wxS
|
||||||
bool FolderMemoryCard::AddFile( MemoryCardFileEntry* const dirEntry, const wxString& dirPath, const wxString& fileName, MemoryCardFileMetadataReference* parent ) {
|
bool FolderMemoryCard::AddFile( MemoryCardFileEntry* const dirEntry, const wxString& dirPath, const wxString& fileName, MemoryCardFileMetadataReference* parent ) {
|
||||||
wxFileName relativeFilePath( dirPath, fileName );
|
wxFileName relativeFilePath( dirPath, fileName );
|
||||||
relativeFilePath.MakeRelativeTo( m_folderName.GetPath() );
|
relativeFilePath.MakeRelativeTo( m_folderName.GetPath() );
|
||||||
Console.WriteLn( L"(FolderMcd) Adding file: %s", WX_STR( relativeFilePath.GetFullPath() ) );
|
|
||||||
|
|
||||||
wxFileName fileInfo( dirPath, fileName );
|
wxFileName fileInfo( dirPath, fileName );
|
||||||
wxFFile file( fileInfo.GetFullPath(), L"rb" );
|
wxFFile file( fileInfo.GetFullPath(), L"rb" );
|
||||||
|
|
Loading…
Reference in New Issue