mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
Common/CDImage: Fix double increment of sectors_read
This commit is contained in:
parent
aec01d3890
commit
457743e109
|
@ -154,7 +154,6 @@ u32 CDImage::Read(ReadMode read_mode, u32 sector_count, void* buffer)
|
||||||
m_position_on_disc++;
|
m_position_on_disc++;
|
||||||
m_position_in_index++;
|
m_position_in_index++;
|
||||||
m_position_in_track++;
|
m_position_in_track++;
|
||||||
sectors_read++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return sectors_read;
|
return sectors_read;
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "bitfield.h"
|
#include "bitfield.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
#include <cstdio>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue