summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/DVD/DVDInterface.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Core/HW/DVD/DVDInterface.cpp b/Source/Core/Core/HW/DVD/DVDInterface.cpp
index 828157d744..2ea86942da 100644
--- a/Source/Core/Core/HW/DVD/DVDInterface.cpp
+++ b/Source/Core/Core/HW/DVD/DVDInterface.cpp
@@ -1214,9 +1214,8 @@ void ScheduleReads(u64 offset, u32 length, const DiscIO::Partition& partition, u
u32 buffered_blocks = 0;
u32 unbuffered_blocks = 0;
- const u32 bytes_per_chunk = partition == DiscIO::PARTITION_NONE ?
- DVD_ECC_BLOCK_SIZE :
- DiscIO::VolumeWii::BLOCK_DATA_SIZE;
+ const u32 bytes_per_chunk =
+ partition == DiscIO::PARTITION_NONE ? DVD_ECC_BLOCK_SIZE : DiscIO::VolumeWii::BLOCK_DATA_SIZE;
while (length > 0)
{