summaryrefslogtreecommitdiff
path: root/emulators/raine/files/patch-source_bezel.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/raine/files/patch-source_bezel.c')
-rw-r--r--emulators/raine/files/patch-source_bezel.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/emulators/raine/files/patch-source_bezel.c b/emulators/raine/files/patch-source_bezel.c
index a9ff757faf4e..5956dca4c362 100644
--- a/emulators/raine/files/patch-source_bezel.c
+++ b/emulators/raine/files/patch-source_bezel.c
@@ -1,6 +1,6 @@
--- source/bezel.c.orig Thu Nov 17 18:24:59 2005
+++ source/bezel.c Thu Nov 17 18:49:28 2005
-@@ -18,7 +18,7 @@
+@@ -18,1 +18,1 @@
#define __USE_ISOC99 1
#include <math.h>
@@ -9,20 +9,3 @@
// djgpp seems to have specificities for rounding...
// why on earth non one implements cleanly such basic function ???
#define round rint
-@@ -296,6 +296,7 @@
- int w = bezel_width, h = bezel_height;
- int multw =1, multh = 1;
- int xoff2,yoff2,destx,desty,xxx,yyy;
-+ BITMAP *scaled_bezel;
-
- if (!w || !h) {
- // if wants_switch_res = 0, then the bezel is not initalised when arriving here...
-@@ -316,7 +317,7 @@
-
- w *= multw; h *= multh;
- print_debug("bezel: create bitmap %dx%d\n",w,h);
-- BITMAP *scaled_bezel = create_bitmap_ex(bitmap_color_depth(bezel_bitmap),w,h);
-+ scaled_bezel = create_bitmap_ex(bitmap_color_depth(bezel_bitmap),w,h);
- stretch_blit(bezel_bitmap,scaled_bezel,0,0,bezel_bitmap->w-1,bezel_bitmap->h-1,0,0,w,h);
-
- if (rotate_screen == 3 || rotate_screen == 1) { // 270