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:
47bdde5
)
standalone: fix w/h confusion
author
notaz
<notasas@gmail.com>
Sat, 6 Jan 2024 23:31:17 +0000
(
01:31
+0200)
committer
notaz
<notasas@gmail.com>
Sat, 6 Jan 2024 23:31:17 +0000
(
01:31
+0200)
frontend/menu.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/menu.c
b/frontend/menu.c
index
51cb377
..
6c669dc
100644
(file)
--- a/
frontend/menu.c
+++ b/
frontend/menu.c
@@
-1313,7
+1313,7
@@
static int menu_loop_cscaler(int id, int keys)
for (;;)
{
if (saved_layer && last_vout_bpp == 16) {
- int top_x = max(0, -g_layer_x * last_vout_
h
/ 800) + 1;
+ int top_x = max(0, -g_layer_x * last_vout_
w
/ 800) + 1;
int top_y = max(0, -g_layer_y * last_vout_h / 480) + 1;
char text[128];
memcpy(pl_vout_buf, saved_layer, saved_layer_size);