Skip to content

Commit

Permalink
Fix warning in scepmsf
Browse files Browse the repository at this point in the history
  • Loading branch information
sum2012 committed Dec 30, 2023
1 parent 305b0bb commit 0319e48
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 0319e48

Please sign in to comment.