diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-10-11 22:47:21 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-10-11 22:47:21 +0000 |
| commit | a6dbb1b6dfecb79d94f6e101bd0572bbf8e98b49 (patch) | |
| tree | ddd67f37d9318e1dc77fcd76e17d03c792129e52 /Source/Core | |
| parent | 97b2f4c1ac37922acd961f7ffe9fe7cf1543d1e0 (diff) | |
fix typos in /dev/di...note the comment, on real hw i'm pretty sure there is a 0x4 flag set...things running in dolphin don't like this, though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4405 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp index 2eca576e59..32e8282cfe 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp @@ -32,8 +32,8 @@ using namespace DVDInterface; -#define DI_COVER_REG_INITIALIZED 0x40 -#define DI_COVER_REG_NO_DISC 0x01 +#define DI_COVER_REG_INITIALIZED 0 // Should be 4, but doesn't work correctly... +#define DI_COVER_REG_NO_DISC 1 CWII_IPC_HLE_Device_di::CWII_IPC_HLE_Device_di(u32 _DeviceID, const std::string& _rDeviceName ) : IWII_IPC_HLE_Device(_DeviceID, _rDeviceName) @@ -166,10 +166,10 @@ u32 CWII_IPC_HLE_Device_di::ExecuteCommand(u32 _BufferIn, u32 _BufferInSize, u32 { // (shuffle2) Taken from my wii Memory::Write_U32(0x00000002, _BufferOut); - Memory::Write_U32(0x20060526, _BufferOut); + Memory::Write_U32(0x20060526, _BufferOut + 4); // This was in the oubuf even though this cmd is only supposed to reply with 64bits // However, this and other tests strongly suggest that the buffer is static, and it's never - or rarely cleared. - Memory::Write_U32(0x41000000, _BufferOut); + Memory::Write_U32(0x41000000, _BufferOut + 8); INFO_LOG(WII_IPC_DVD, "DVDLowInquiry (Buffer 0x%08x, 0x%x)", _BufferOut, _BufferOutSize); |
