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
gpulib: handle vram copy in gpulib
[pcsx_rearmed.git]
/
plugins
/
dfxvideo
/
gpulib_if.c
diff --git
a/plugins/dfxvideo/gpulib_if.c
b/plugins/dfxvideo/gpulib_if.c
index
3a41cd7
..
978e7d8
100644
(file)
--- a/
plugins/dfxvideo/gpulib_if.c
+++ b/
plugins/dfxvideo/gpulib_if.c
@@
-299,6
+299,10
@@
void renderer_notify_res_change(void)
{
}
{
}
+void renderer_notify_scanout_x_change(int x, int w)
+{
+}
+
extern const unsigned char cmd_lengths[256];
int do_cmd_list(uint32_t *list, int list_len, int *last_cmd)
extern const unsigned char cmd_lengths[256];
int do_cmd_list(uint32_t *list, int list_len, int *last_cmd)
@@
-317,7
+321,7
@@
int do_cmd_list(uint32_t *list, int list_len, int *last_cmd)
}
#ifndef TEST
}
#ifndef TEST
- if (
cmd == 0xa0 || cmd == 0xc
0)
+ if (
0x80 <= cmd && cmd < 0xe
0)
break; // image i/o, forward to upper layer
else if ((cmd & 0xf8) == 0xe0)
gpu.ex_regs[cmd & 7] = GETLE32(list);
break; // image i/o, forward to upper layer
else if ((cmd & 0xf8) == 0xe0)
gpu.ex_regs[cmd & 7] = GETLE32(list);
@@
-414,7
+418,7
@@
void renderer_sync_ecmds(uint32_t *ecmds_)
cmdSTP((unsigned char *)&ecmds[6]);
}
cmdSTP((unsigned char *)&ecmds[6]);
}
-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
)
{
}
{
}