memory card: Remove commented out WX code.

This commit is contained in:
Mrlinkwii 2023-01-06 14:58:23 +00:00 committed by refractionpcsx2
parent c85b826978
commit 82f1dbca89
3 changed files with 2 additions and 11 deletions

View File

@ -248,15 +248,7 @@ bool FileMcd_IsMultitapSlot(uint slot)
{
return (slot > 1);
}
/*
wxFileName FileMcd_GetSimpleName(uint slot)
{
if( FileMcd_IsMultitapSlot(slot) )
return g_Conf->Folders.MemoryCards + wxsFormat( L"Mcd-Multitap%u-Slot%02u.ps2", FileMcd_GetMtapPort(slot)+1, FileMcd_GetMtapSlot(slot)+1 );
else
return g_Conf->Folders.MemoryCards + wxsFormat( L"Mcd%03u.ps2", slot+1 );
}
*/
std::string FileMcd_GetDefaultName(uint slot)
{
if (FileMcd_IsMultitapSlot(slot))

View File

@ -42,7 +42,6 @@ struct AvailableMcdInfo
extern uint FileMcd_GetMtapPort(uint slot);
extern uint FileMcd_GetMtapSlot(uint slot);
extern bool FileMcd_IsMultitapSlot(uint slot);
//extern wxFileName FileMcd_GetSimpleName(uint slot);
extern std::string FileMcd_GetDefaultName(uint slot);
uint FileMcd_ConvertToSlot(uint port, uint slot);

View File

@ -403,7 +403,7 @@ protected:
// call by passing:
// - currentCluster: the root directory cluster as indicated in the superblock
// - searchCluster: the cluster that is being accessed, relative to alloc_offset in the superblock
// - fileName: wxFileName of the root directory of the memory card folder in the host file system (filename part doesn't matter)
// - fileName: FileName of the root directory of the memory card folder in the host file system (filename part doesn't matter)
// - originalDirCount: the point in fileName where to insert the found folder path, usually fileName->GetDirCount()
// - outClusterNumber: the cluster's sequential number of the file will be written to this pointer,
// which can be used to calculate the in-file offset of the address being accessed