[jak3] Minimap texture fix

This commit is contained in:
water
2024-04-12 19:22:25 -04:00
parent 36f1592b90
commit b1bc22330e
2 changed files with 4 additions and 1 deletions
@@ -42,6 +42,9 @@ void ProgressRenderer::handle_frame(u64 val,
break;
case kMinimapFbp: // 126
m_fb_ctxt.emplace(m_minimap_fb);
// replace any other texture that the game loaded to this slot with our PC with the GPU
// one that we assume will get written to now.
render_state->texture_pool->move_existing_to_vram(m_minimap_gpu_tex, kMinimapVramAddr);
m_offscreen_mode = true;
break;
default:
+1 -1
View File
@@ -1409,7 +1409,7 @@
(let ((t0-22 (-> lev texture-mask category)))
(set! (-> t0-22 mask quad) (the-as uint128 -1))
(set! (-> lev upload-size 8)
(upload-vram-pages-pris pool (-> pool segment-common) a2-1 bucket (the-as (pointer int32) t0-22))
(upload-vram-pages-pris-pc pool (-> pool segment-common) a2-1 bucket (the-as (pointer int32) t0-22))
)
)
)