From 42a7d2fc85baa49c5b47907d3ce8ddf440d2af99 Mon Sep 17 00:00:00 2001 From: hyperiris Date: Sun, 22 Feb 2009 13:59:06 +0000 Subject: Fix of issue 408, the game still can't boot. Implement DVDLowUnencryptedRead, Medal Of Honor Heroes 2 use it to get DVD PartitionsInfo (disk offset 0x40000). and the game try to use IOCtlV, code 0x8b, bushing point out, IOCtlV 0x8b is DVDLowOpenPartition too, so I just return 0 for success. need further work on this. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2367 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DiscIO/Src/VolumeDirectory.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/DiscIO/Src/VolumeDirectory.cpp') diff --git a/Source/Core/DiscIO/Src/VolumeDirectory.cpp b/Source/Core/DiscIO/Src/VolumeDirectory.cpp index 37fe0b8f4d..4619650b86 100644 --- a/Source/Core/DiscIO/Src/VolumeDirectory.cpp +++ b/Source/Core/DiscIO/Src/VolumeDirectory.cpp @@ -69,6 +69,11 @@ bool CVolumeDirectory::IsValidDirectory(const std::string& _rDirectory) return File::IsDirectory(directoryName.c_str()); } +bool CVolumeDirectory::RAWRead( u64 _Offset, u64 _Length, u8* _pBuffer ) const +{ + return false; +} + bool CVolumeDirectory::Read(u64 _Offset, u64 _Length, u8* _pBuffer) const { if(_Offset < FST_ADDRESS) -- cgit v1.2.3