aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/f1spirit-remake/files/patch-sources_auxiliar.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/f1spirit-remake/files/patch-sources_auxiliar.cpp b/games/f1spirit-remake/files/patch-sources_auxiliar.cpp
new file mode 100644
index 000000000000..1cb5b31750b2
--- /dev/null
+++ b/games/f1spirit-remake/files/patch-sources_auxiliar.cpp
@@ -0,0 +1,11 @@
+--- sources/auxiliar.cpp.orig 2018-06-28 15:42:12 UTC
++++ sources/auxiliar.cpp
+@@ -88,7 +88,7 @@ SDL_Surface *load_maskedimage(char *imag
+ mask=IMG_Load(name);
+
+ if (tmp==0 ||
+- mask==0) return false;
++ mask==0) return NULL;
+
+ res=SDL_DisplayFormatAlpha(tmp);
+