Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UsbCam/jpeg: Cleanups, notify framebuffer manager #12278

Merged
merged 3 commits into from
Aug 26, 2019
Merged

Conversation

hrydgard
Copy link
Owner

Code and logging cleanups, and notifies the framebuffer manager when an MJPEG picture has been decoded, which seems to fix Invizimals.

@hrydgard hrydgard added this to the v1.9.0 milestone Aug 26, 2019
@hrydgard hrydgard merged commit fcf1152 into master Aug 26, 2019
@hrydgard hrydgard deleted the usbcam-cleanups branch August 26, 2019 16:48
@@ -166,6 +168,8 @@ void __KernelShutdown()
hleCurrentThreadName = NULL;
kernelObjects.Clear();

__UsbCamShutdown();

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Spacious.

-[Unknown]

@@ -165,7 +168,7 @@ static int sceJpegDecodeMJpeg(u32 jpegAddr, int jpegSize, u32 imageAddr, int dht
return 0;
}

DEBUG_LOG(ME, "sceJpegDecodeMJpeg(%i, %i, %i, %i)", jpegAddr, jpegSize, imageAddr, dhtMode);
DEBUG_LOG(ME, "sceJpegDecodeMJpeg(%08x, %i, %08x, %i)", jpegAddr, jpegSize, imageAddr, dhtMode);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... or could use hleLogSuccessI() which would handle the args for you. The argmask already has x correctly.

-[Unknown]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants