Relax display buffer / GetVfbAt() requirements.
Castlevania actually uses a display buffer of 420, it seems. Since we no longer allow multiple FBOs at the same address, this should be safe.
This commit is contained in:
parent
304d372f48
commit
b069462bea
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ VirtualFramebuffer *FramebufferManager::GetVFBAt(u32 addr) {
|
|||
VirtualFramebuffer *match = NULL;
|
||||
for (size_t i = 0; i < vfbs_.size(); ++i) {
|
||||
VirtualFramebuffer *v = vfbs_[i];
|
||||
if (MaskedEqual(v->fb_address, addr) && v->format == displayFormat_ && v->width >= 480) {
|
||||
if (MaskedEqual(v->fb_address, addr)) {
|
||||
// Could check w too but whatever
|
||||
if (match == NULL || match->last_frame_render < v->last_frame_render) {
|
||||
match = v;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue