DVD read chunking

Splits DVD reads up into smaller chunks so that data is available
before the final interrupt is triggered. This better simulates the DMA
that happens on a real device, which some games will take advantage of -
by either playing back data as it is loading or by using data that is
going to be overwritten shortly by an outstanding read.
This commit is contained in:
Matt Mastracci
2017-02-08 14:18:55 +01:00
committed by JosJuice
parent 99492c22a6
commit 961f84b767
3 changed files with 334 additions and 176 deletions
File diff suppressed because it is too large Load Diff
+1
View File
@@ -95,6 +95,7 @@ enum DIInterruptType : int
enum class ReplyType : u32
{
NoReply,
Interrupt,
IOS,
DTK
+1 -1
View File
@@ -71,7 +71,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
static std::thread g_save_thread;
// Don't forget to increase this after doing changes on the savestate system
static const u32 STATE_VERSION = 75; // Last changed in PR 4857
static const u32 STATE_VERSION = 76; // Last changed in PR 4829
// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,