fix for the fix -_- committed wrong version before
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@868 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b75d63131c
commit
2195e645fd
|
@ -97,11 +97,7 @@ CEXIMemoryCard::CEXIMemoryCard(const std::string& _rName, const std::string& _rF
|
|||
memory_card_size = 8 * 1024 * 1024;
|
||||
break;
|
||||
case 2043:
|
||||
nintendo_card_id = 0x00000080;
|
||||
memory_card_size = 16 * 1024 * 1024;
|
||||
break;
|
||||
default:
|
||||
// Because everyone wants the biggest memcard :}
|
||||
nintendo_card_id = 0x00000080;
|
||||
memory_card_size = 16 * 1024 * 1024;
|
||||
break;
|
||||
|
@ -119,9 +115,13 @@ CEXIMemoryCard::CEXIMemoryCard(const std::string& _rName, const std::string& _rF
|
|||
}
|
||||
else
|
||||
{
|
||||
// Create a new 128Mb memcard
|
||||
nintendo_card_id = 0x00000080;
|
||||
memory_card_size = 16 * 1024 * 1024;
|
||||
|
||||
memory_card_content = new u8[memory_card_size];
|
||||
memset(memory_card_content, 0xFF, memory_card_size);
|
||||
|
||||
LOG(EXPANSIONINTERFACE, "No memory card found. Will create new.");
|
||||
Flush();
|
||||
Core::DisplayMessage(StringFromFormat("Wrote memory card contents to %s", m_strFilename.c_str()), 4000);
|
||||
|
|
Loading…
Reference in New Issue