projects
/
psx_test1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
double buffering
[psx_test1]
/
src
/
gpu.c
diff --git
a/src/gpu.c
b/src/gpu.c
index
bc2f1a4
..
6a4823e
100644
(file)
--- a/
src/gpu.c
+++ b/
src/gpu.c
@@
-51,6
+51,11
@@
void gpu_display(int en)
REG_GP1 = GPCMD(GP1_DISPEN) | (en ? 0 : 1);
}
+void gpu_dispstart(int x, int y)
+{
+ REG_GP1 = GPCMD(GP1_START) | x | (y << 10);
+}
+
void gpu_cliprect(int x, int y, int w, int h)
{
REG_GP0 = GPCMD(GP0_CLIP_TL) | x | (y << 10);