From 5f0939dfd9fc6e75b4432cf4496b7ae942fd4047 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Sat, 3 Jan 2009 18:50:01 +0000 Subject: MusicMod: A couple of fixes, more to come (when I find what is the I/O interrupt we have to trap to only get music, and in the correct time) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1748 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DiscIO/Src/VolumeGC.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Source/Core/DiscIO/Src/VolumeGC.cpp') diff --git a/Source/Core/DiscIO/Src/VolumeGC.cpp b/Source/Core/DiscIO/Src/VolumeGC.cpp index 638355a943..88a4229363 100644 --- a/Source/Core/DiscIO/Src/VolumeGC.cpp +++ b/Source/Core/DiscIO/Src/VolumeGC.cpp @@ -20,6 +20,15 @@ #include "VolumeGC.h" #include "StringUtil.h" +////////////////////////////////////////////////// +// Music mod +// ŻŻŻŻŻŻŻŻŻŻ +#include "../../../../Branches/MusicMod/Main/Src/Setup.h" // Define MUSICMOD here +#ifdef MUSICMOD +#include "../../../../Branches/MusicMod/Main/Src/Main.h" +#endif +/////////////////////// + namespace DiscIO { CVolumeGC::CVolumeGC(IBlobReader* _pReader) @@ -35,6 +44,13 @@ bool CVolumeGC::Read(u64 _Offset, u64 _Length, u8* _pBuffer) const { if (m_pReader == NULL) return false; + ////////////////////////////////////////////////// + // Music mod + // ŻŻŻŻŻŻŻŻŻŻ +#ifdef MUSICMOD + MusicMod::CheckFile(_Offset, _Length); +#endif + /////////////////////// return m_pReader->Read(_Offset, _Length, _pBuffer); } -- cgit v1.2.3