Common/CDImage: Fix double increment of sectors_read

This commit is contained in:
Connor McLaughlin 2019-11-28 01:55:09 +10:00
parent aec01d3890
commit 457743e109
2 changed files with 2 additions and 1 deletions

View file

@ -154,7 +154,6 @@ u32 CDImage::Read(ReadMode read_mode, u32 sector_count, void* buffer)
m_position_on_disc++;
m_position_in_index++;
m_position_in_track++;
sectors_read++;
}
return sectors_read;

View file

@ -1,7 +1,9 @@
#pragma once
#include "bitfield.h"
#include "types.h"
#include <cstdio>
#include <memory>
#include <string>
#include <tuple>
#include <vector>