Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of DVD commands that read 0 bytes #6015

Merged
merged 2 commits into from Sep 3, 2017

Conversation

JosJuice
Copy link
Member

@JosJuice JosJuice commented Sep 3, 2017

Fixes a regression from the chunking PR that was making a few games hang, and removes an error message that was showing up even though no error was happening.

@JMC47
Copy link
Contributor

JMC47 commented Sep 3, 2017

Fixes Zapper: One Wicked Cricket

@delroth
Copy link
Member

delroth commented Sep 3, 2017

LGTM

@@ -1222,6 +1222,8 @@ void ScheduleReads(u64 offset, u32 length, const DiscIO::Partition& partition, u
// The last chunk may be short
chunk_length = std::min(chunk_length, length);

// TODO: If the emulated software requests 0 bytes of data, should we seek or not?

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@delroth delroth merged commit 5b6764a into dolphin-emu:master Sep 3, 2017
@JosJuice JosJuice deleted the dvd-0-length branch September 3, 2017 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants