diff options
author | notaz | 2012-04-29 19:18:49 +0300 |
---|---|---|
committer | notaz | 2012-04-29 19:32:08 +0300 |
commit | 4ea7de6a1495abfbc49c54fd2a90e902fdfa13d9 (patch) | |
tree | f062e83f543a583e75ca58e88511f79057464a93 /frontend | |
parent | b07c18e8645a17be916266820ae564e0d320cc1a (diff) | |
download | pcsx_rearmed-4ea7de6a1495abfbc49c54fd2a90e902fdfa13d9.tar.gz pcsx_rearmed-4ea7de6a1495abfbc49c54fd2a90e902fdfa13d9.tar.bz2 pcsx_rearmed-4ea7de6a1495abfbc49c54fd2a90e902fdfa13d9.zip |
gpu plugins: always support 16bpp blit
use this for generic sdl and maemo
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/plat_sdl.c | 1 | ||||
-rw-r--r-- | frontend/plugin_lib.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/frontend/plat_sdl.c b/frontend/plat_sdl.c index 19d7ac0..b9a27c3 100644 --- a/frontend/plat_sdl.c +++ b/frontend/plat_sdl.c @@ -80,6 +80,7 @@ void plat_init(void) in_sdl_init(in_sdl_defbinds); in_probe(); + pl_rearmed_cbs.only_16bpp = 1; return; fail: diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 8645385..bcf74ac 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -57,6 +57,7 @@ struct rearmed_cbs { unsigned int *gpu_hcnt; unsigned int flip_cnt; // increment manually if not using pl_vout_flip unsigned int screen_w, screen_h; // gles plugin wants this + unsigned int only_16bpp; // platform is 16bpp-only struct { int allow_interlace; // 0 off, 1 on, 2 guess } gpu_neon; |