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
some missing error handling
[pcsx_rearmed.git]
/
frontend
/
plat_sdl.c
diff --git
a/frontend/plat_sdl.c
b/frontend/plat_sdl.c
index
5e11cf8
..
5f29b90
100644
(file)
--- a/
frontend/plat_sdl.c
+++ b/
frontend/plat_sdl.c
@@
-147,8
+147,9
@@
void plat_init(void)
SDL_WM_SetCaption("PCSX-ReARMed " REV, NULL);
shadow_size = g_menuscreen_w * g_menuscreen_h * 2;
SDL_WM_SetCaption("PCSX-ReARMed " REV, NULL);
shadow_size = g_menuscreen_w * g_menuscreen_h * 2;
- if (shadow_size < 640 * 512 * 2)
- shadow_size = 640 * 512 * 2;
+ // alloc enough for double res. rendering
+ if (shadow_size < 1024 * 512 * 2)
+ shadow_size = 1024 * 512 * 2;
shadow_fb = malloc(shadow_size);
menubg_img = malloc(shadow_size);
shadow_fb = malloc(shadow_size);
menubg_img = malloc(shadow_size);