aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authornotaz2012-07-18 23:41:31 +0300
committernotaz2012-07-19 00:20:13 +0300
commitaafcb4ddc257478d613611adcae7cb13fd716577 (patch)
treeb9fe3ea3a7544e8497fcc7c8e3fd60e152f5fcb9 /frontend
parentc8eaa363acbafb84840b8d29b532ae1225d6d61c (diff)
downloadpcsx_rearmed-aafcb4ddc257478d613611adcae7cb13fd716577.tar.gz
pcsx_rearmed-aafcb4ddc257478d613611adcae7cb13fd716577.tar.bz2
pcsx_rearmed-aafcb4ddc257478d613611adcae7cb13fd716577.zip
gpulib: clear fb when display is blanked
Diffstat (limited to 'frontend')
-rw-r--r--frontend/plugin_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index 2e954aa..17fa1ec 100644
--- a/frontend/plugin_lib.c
+++ b/frontend/plugin_lib.c
@@ -116,6 +116,9 @@ void pl_print_hud(int xborder)
{
int w = pl_vout_w, h = pl_vout_h;
+ if (h < 16)
+ return;
+
if (g_opts & OPT_SHOWSPU)
draw_active_chans(w, h);