Skip to content

Commit

Permalink
MJPEG in sceJpeg: Notify the framebuffer manager that there's been a …
Browse files Browse the repository at this point in the history
…picture written to memory. Fixes part of #8521
  • Loading branch information
hrydgard committed Aug 26, 2019
1 parent 402b6b2 commit a17fe33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/HLE/sceJpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ static int sceJpegMJpegCsc(u32 imageAddr, u32 yCbCrAddr, int widthHeight, int bu
int width = (widthHeight >> 16) & 0xFFF;
int height = widthHeight & 0xFFF;
DEBUG_LOG(ME, "sceJpegMJpegCsc(%08x, %08x, (%dx%d), %i)", imageAddr, yCbCrAddr, width, height, bufferWidth);
gpu->NotifyVideoUpload(imageAddr, width * height * 4, width, GE_FORMAT_8888);
return 0;
}

Expand Down

0 comments on commit a17fe33

Please sign in to comment.