diff options
Diffstat (limited to 'games/opendune/mmx_bodge.diff')
-rw-r--r-- | games/opendune/mmx_bodge.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/opendune/mmx_bodge.diff b/games/opendune/mmx_bodge.diff new file mode 100644 index 0000000000000..e735ed8db37c4 --- /dev/null +++ b/games/opendune/mmx_bodge.diff @@ -0,0 +1,12 @@ +diff -Naur OpenDUNE-0.8/src/video/video_sdl.c OpenDUNE-0.8.patched/src/video/video_sdl.c +--- OpenDUNE-0.8/src/video/video_sdl.c 2016-06-26 17:46:42.000000000 -0400 ++++ OpenDUNE-0.8.patched/src/video/video_sdl.c 2017-05-31 13:27:35.163259001 -0400 +@@ -362,7 +362,7 @@ + *((__m128i *)gfx2) = mh; + gfx2 += 16; + } +-#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) ++#elif defined(__GNUC__) && defined(__MMX__) + /* MMX code */ + for (x = SCREEN_WIDTH / 4; x > 0; x--) { + __m64 m; |