mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Re-add FileMonitor support for Wii discs
This in done in the same way as GC discs, unlike the previous implementation.
This commit is contained in:
parent
c5c10fe48b
commit
8624461315
@ -79,7 +79,7 @@ void ReadGC(const std::string& filename)
|
||||
if (!OpenISO)
|
||||
return;
|
||||
|
||||
if (!DiscIO::IsVolumeWiiDisc(OpenISO) && !DiscIO::IsVolumeWadFile(OpenISO))
|
||||
if (!DiscIO::IsVolumeWadFile(OpenISO))
|
||||
{
|
||||
pFileSystem = DiscIO::CreateFileSystem(OpenISO);
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include "Common/MsgHandler.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
#include "DiscIO/Blob.h"
|
||||
#include "DiscIO/FileMonitor.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
#include "DiscIO/VolumeCreator.h"
|
||||
#include "DiscIO/VolumeGC.h"
|
||||
@ -69,6 +70,8 @@ bool CVolumeWiiCrypted::Read(u64 _ReadOffset, u64 _Length, u8* _pBuffer) const
|
||||
if (m_pReader == nullptr)
|
||||
return(false);
|
||||
|
||||
FileMon::FindFilename(_ReadOffset);
|
||||
|
||||
while (_Length > 0)
|
||||
{
|
||||
static unsigned char IV[16];
|
||||
|
Loading…
Reference in New Issue
Block a user