Skip to content

Commit

Permalink
Merge pull request #18645 from sum2012/pmsf_minor
Browse files Browse the repository at this point in the history
Fix warning in scepsmf
  • Loading branch information
hrydgard committed Dec 30, 2023
2 parents 305b0bb + 0319e48 commit d2ebd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/HLE/scePsmf.cpp
Expand Up @@ -1453,7 +1453,7 @@ static int scePsmfPlayerStart(u32 psmfPlayer, u32 psmfPlayerData, int initPts)
psmfplayer->mediaengine->openContext();

s64 dist = initPts - psmfplayer->mediaengine->getVideoTimeStamp();
if (dist < 0 || dist > VIDEO_FRAME_DURATION_TS * 60) {
if (dist < 0 || dist > static_cast<long long>(VIDEO_FRAME_DURATION_TS) * 60) {
// When seeking backwards, we just start populating the stream from the start.
pspFileSystem.SeekFile(psmfplayer->filehandle, 0, FILEMOVE_BEGIN);

Expand Down

0 comments on commit d2ebd36

Please sign in to comment.