From: notaz <notasas@gmail.com>
Date: Sat, 15 Jan 2011 22:22:30 +0000 (+0200)
Subject: bugfix
X-Git-Tag: r4~2
X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7947ab550d7e0bf2964e479429b6f7251ae46bcf;p=pcsx_rearmed.git

bugfix
---

diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index 93640c35..dfa2fae1 100644
--- a/frontend/plugin_lib.c
+++ b/frontend/plugin_lib.c
@@ -67,7 +67,7 @@ void *pl_fbdev_set_mode(int w, int h, int bpp)
 	void *ret;
 
 	if (w == pl_fbdev_w && h == pl_fbdev_h && bpp == pl_fbdev_bpp)
-		return 0;
+		return pl_fbdev_buf;
 
 	pl_fbdev_w = w;
 	pl_fbdev_h = h;