Don't try to present from little temp framebuffers used by Godfather to draw text.

The framebuffer does contain the top of the video frame at the present
time though, so things have partially gone well. However the rest of the
frame lies after it in VRAM. What we probably technically should do when
we see this is to assemble an image from both the framebuffer we find
and VRAM contents exceeding the range of that image, but seems kinda
impractical.

This works, but there seems to be some other issue with how the text is
rendered or copied. Could be a color precision issue confusing the game
I suppose.
This commit is contained in:
Henrik Rydgård
2023-04-17 12:24:31 +02:00
parent 1143661dec
commit b1f8830bd8
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1267,7 +1267,7 @@ static PSPModule *__KernelLoadELFFromPtr(const u8 *ptr, size_t elfSize, u32 load
// Copy the name to ensure it's null terminated.
char name[32]{};
strncpy(name, head->modname, ARRAY_SIZE(head->modname));
SaveDecryptedEbootToStorageMedia(ptr, elfSize, name);
SaveDecryptedEbootToStorageMedia(ptr, (u32)elfSize, name);
}
}
}