notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpu_neon: rework buffer selection
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
gpulib_if.cpp
diff --git
a/plugins/gpu_unai/gpulib_if.cpp
b/plugins/gpu_unai/gpulib_if.cpp
index
588134d
..
710a713
100644
(file)
--- a/
plugins/gpu_unai/gpulib_if.cpp
+++ b/
plugins/gpu_unai/gpulib_if.cpp
@@
-312,11
+312,15
@@
void renderer_notify_res_change(void)
/*
printf("res change hres: %d vres: %d depth: %d ilace_mask: %d\n",
/*
printf("res change hres: %d vres: %d depth: %d ilace_mask: %d\n",
- gpu.screen.hres, gpu.screen.vres,
gpu.status.rgb24
? 24 : 15,
+ gpu.screen.hres, gpu.screen.vres,
(gpu.status & PSX_GPU_STATUS_RGB24)
? 24 : 15,
gpu_unai.ilace_mask);
*/
}
gpu_unai.ilace_mask);
*/
}
+void renderer_notify_scanout_x_change(int x, int w)
+{
+}
+
#ifdef USE_GPULIB
// Handles GP0 draw settings commands 0xE1...0xE6
static void gpuGP0Cmd_0xEx(gpu_unai_t &gpu_unai, u32 cmd_word)
#ifdef USE_GPULIB
// Handles GP0 draw settings commands 0xE1...0xE6
static void gpuGP0Cmd_0xEx(gpu_unai_t &gpu_unai, u32 cmd_word)
@@
-399,10
+403,10
@@
int do_cmd_list(u32 *list, int list_len, int *last_cmd)
gpu_unai.ilace_mask = gpu_unai.config.ilace_force;
#ifdef HAVE_PRE_ARMV7 /* XXX */
gpu_unai.ilace_mask = gpu_unai.config.ilace_force;
#ifdef HAVE_PRE_ARMV7 /* XXX */
- gpu_unai.ilace_mask |=
gpu.status.interlace
;
+ gpu_unai.ilace_mask |=
!!(gpu.status & PSX_GPU_STATUS_INTERLACE)
;
#endif
if (gpu_unai.config.scale_hires) {
#endif
if (gpu_unai.config.scale_hires) {
- gpu_unai.ilace_mask |=
gpu.status.interlace
;
+ gpu_unai.ilace_mask |=
!!(gpu.status & PSX_GPU_STATUS_INTERLACE)
;
}
for (; list < list_end; list += 1 + len)
}
for (; list < list_end; list += 1 + len)
@@
-786,7
+790,7
@@
void renderer_sync_ecmds(uint32_t *ecmds)
do_cmd_list(&ecmds[1], 6, &dummy);
}
do_cmd_list(&ecmds[1], 6, &dummy);
}
-void renderer_update_caches(int x, int y, int w, int h)
+void renderer_update_caches(int x, int y, int w, int h
, int state_changed
)
{
}
{
}