notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbb4bff
)
frontend/pollux: care about bpp when calculating offset
author
notaz
<notasas@gmail.com>
Tue, 31 Jul 2012 23:16:57 +0000
(
02:16
+0300)
committer
notaz
<notasas@gmail.com>
Tue, 31 Jul 2012 23:54:48 +0000
(
02:54
+0300)
frontend/plat_pollux.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/plat_pollux.c
b/frontend/plat_pollux.c
index
57031d8
..
589049c
100644
(file)
--- a/
frontend/plat_pollux.c
+++ b/
frontend/plat_pollux.c
@@
-440,7
+440,7
@@
void *plat_gvideo_set_mode(int *w_, int *h_, int *bpp_)
}
fb_offset_y = 240/2 - h / 2;
- psx_offset_x = poff_w;
+ psx_offset_x = poff_w
* psx_bpp/8 / 2
;
psx_offset_y = poff_h;
psx_src_width = w;
psx_src_height = h;