Commit Graph

2 Commits

Author SHA1 Message Date
JosJuice 0ac642a537 Fix mistakes in RX4E4Z.ini 2019-04-30 15:20:10 +02:00
Léo Lam 289ed21140 GameINI: Add a game patch to work around dcache issue (RX4E4Z)
Work around a dcache issue by preventing the game from doing
something pointless.

The game's DVD read function writes 0x87654321 to the entire read
buffer and 0x12345678 to the last 4 bytes. It then calls DVDReadAsync()
and without waiting for the read to complete at all, it checks if the
last 4 bytes are still 0x12345678. If they are, then the game fails.

The check always passes on console because DVDReadAsync() calls
issueCommand(), which calls DCInvalidateRange(read_buffer) (dcbi).

Dolphin cannot emulate this without an extremely significant
performance hit.
2018-03-02 12:07:17 +01:00