start mmap'ing vram, with hugetlb if possible
[pcsx_rearmed.git] / plugins / gpu_unai / gpulib_if.cpp
index 2f741ad..de16721 100644 (file)
@@ -533,6 +533,8 @@ void renderer_set_config(const struct rearmed_cbs *cbs)
   enableAbbeyHack = cbs->gpu_unai.abe_hack;
   light = !cbs->gpu_unai.no_light;
   blend = !cbs->gpu_unai.no_blend;
+
+  GPU_FrameBuffer = (u16 *)gpu.vram;
 }
 
 #endif