wii sd: fix reading!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3024 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-04-20 18:19:03 +00:00
parent daac0d8ca1
commit 821dd625b3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ bool CWII_IPC_HLE_Device_sdio_slot0::Open(u32 _CommandAddress, u32 _Mode)
{ {
INFO_LOG(WII_IPC_SD, "Open"); INFO_LOG(WII_IPC_SD, "Open");
m_Card = fopen("sd.raw", "r+"); m_Card = fopen("sd.raw", "r+b");
if(!m_Card) if(!m_Card)
ERROR_LOG(WII_IPC_SD, "Failed to open SD Card image"); ERROR_LOG(WII_IPC_SD, "Failed to open SD Card image");