mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-07 17:46:45 +00:00
Fixed compilation warnings
This commit is contained in:
parent
2efda3dc09
commit
4b418e92b0
4
.gitignore
vendored
4
.gitignore
vendored
@ -175,4 +175,6 @@ Docs/*.exe
|
||||
|
||||
PGOHelper/PGOMesenHome
|
||||
*.profraw
|
||||
*.profdata
|
||||
*.profdata
|
||||
|
||||
packages/*
|
@ -37,10 +37,10 @@ uint32_t HistoryViewer::GetHistoryLength()
|
||||
|
||||
void HistoryViewer::GetHistorySegments(uint32_t *segmentBuffer, uint32_t &bufferSize)
|
||||
{
|
||||
size_t segmentIndex = 0;
|
||||
uint32_t segmentIndex = 0;
|
||||
for(size_t i = 0; i < _history.size(); i++) {
|
||||
if(_history[i].EndOfSegment) {
|
||||
segmentBuffer[segmentIndex] = i;
|
||||
segmentBuffer[segmentIndex] = (uint32_t)i;
|
||||
segmentIndex++;
|
||||
|
||||
if(segmentIndex == bufferSize) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user