-
Notifications
You must be signed in to change notification settings - Fork 104
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
Implement MxDisplaySurface::VTable0x34 #1264
Implement MxDisplaySurface::VTable0x34 #1264
Conversation
Matched it to 100%. Since the function exists in the BETA at address |
} | ||
case 16: { | ||
if (p_bpp == 16) { | ||
MxU8* dst = (MxU8*) surfaceDesc.lpSurface + p_y * surfaceDesc.lPitch + p_x; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct if both dest and src contain 16-bit pixels?
Shouldn't it be + 2 * p_x
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think you are right. It looks like a bug. The function is never called in the game
I was here! Thanks everyone. 🎉 |
Accuracy is an embarrassing 34.91%.
Here's some stack information to get you started:
(It's a "RawBlitAt" function)