diff options
Diffstat (limited to 'testing/mednafen/02-fix_x86_inline_asm.patch')
-rw-r--r-- | testing/mednafen/02-fix_x86_inline_asm.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/testing/mednafen/02-fix_x86_inline_asm.patch b/testing/mednafen/02-fix_x86_inline_asm.patch deleted file mode 100644 index d17fd36303..0000000000 --- a/testing/mednafen/02-fix_x86_inline_asm.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- mednafen/src/pce_fast/vdc.cpp.orig -+++ mednafen/src/pce_fast/vdc.cpp -@@ -1027,12 +1027,12 @@ - - asm volatile( - "testl $15, %%eax\n\t" -- "bt $15, %%ebx\n\t" -+ "bt $15, %%edx\n\t" - -- "cmovbe %%ebx, %%eax\n\t" -+ "cmovbe %%edx, %%eax\n\t" - "andl $511, %%eax\n\t" - : "=a"(pixel) -- : "a"(pixel), "b"(spr_pixel) -+ : "a"(pixel), "d"(spr_pixel) - : "cc" ); - - target[x] = vce.color_table_cache[pixel]; -@@ -1047,14 +1047,14 @@ - - asm volatile( - "testl $15, %%eax\n\t" -- "bt $15, %%ebx\n\t" -+ "bt $15, %%edx\n\t" - - "jnbe 1f\n\t" -- "movl %%ebx, %%eax\n\t" -+ "movl %%edx, %%eax\n\t" - "andl $511, %%eax\n\t" - "1:\n\t" - : "=a"(pixel) -- : "a"(pixel), "b"(spr_pixel) -+ : "a"(pixel), "d"(spr_pixel) - : "cc" ); - - target[x] = vce.color_table_cache[pixel]; |