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 2016-03-02 17:36:11 -07:00 committed by JosJuice
commit 961f84b767
3 changed files with 334 additions and 176 deletions

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,