mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 11:34:18 +01:00
MCD manager: console print fix when creating a card without assigning it to a slot.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4467 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
b5aad0ea06
commit
ec19e9738e
1 file changed
+4
-1
@@ -690,7 +690,10 @@ void Panels::MemoryCardListPanel_Simple::UiCreateNewCard( McdSlotItem& card )
|
||||
card.IsEnabled = true;
|
||||
card.Filename = dialog.result_createdMcdFilename;
|
||||
card.IsPresent = true;
|
||||
Console.WriteLn(L"setting new card to slot %u: '%s'", card.Slot, card.Filename.GetFullName().c_str());
|
||||
if ( card.Slot >= 0)
|
||||
Console.WriteLn(L"setting new card to slot %u: '%s'", card.Slot, card.Filename.GetFullName().c_str());
|
||||
else
|
||||
Console.WriteLn(L"Created a new unassigned card file: '%s'", card.Filename.GetFullName().c_str() );
|
||||
}
|
||||
else
|
||||
card.IsEnabled=false;
|
||||
|
||||
Reference in new issue
Block a user