mirror of
https://github.com/libretro/pcsx2.git
synced 2025-02-15 06:58:42 +00:00
zzogl-pg: Patch to prevent compilation issues if fPIC is in the compilation flags.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2999 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
d91bcf2bbc
commit
a18e8c74ad
@ -1036,24 +1036,24 @@ Return:
|
||||
".intel_syntax\n"
|
||||
"jmp Return\n"
|
||||
"Continue:\n"
|
||||
"cmp %%ebx, 16\n"
|
||||
"cmp %%esi, 16\n"
|
||||
"jle Return\n"
|
||||
"test %%ebx, 0x10\n"
|
||||
"test %%esi, 0x10\n"
|
||||
"jz AddEcx\n"
|
||||
"sub %%edx, 448\n" // go back and down one column
|
||||
"AddEcx:\n"
|
||||
"add %%edx, 256\n" // go to the right block
|
||||
"cmp %%ebx, 0x90\n"
|
||||
"cmp %%esi, 0x90\n"
|
||||
"jne Continue1\n"
|
||||
"add %%edx, 256\n" // skip whole block
|
||||
"Continue1:\n"
|
||||
"add %%ecx, 64\n"
|
||||
"sub %%ebx, 16\n"
|
||||
"sub %%esi, 16\n"
|
||||
"jmp Start\n"
|
||||
"Return:\n"
|
||||
"emms\n"
|
||||
|
||||
".att_syntax\n" : "=m"(bRet) : "c"(dst), "d"(src), "b"(entries) : "eax", "memory");
|
||||
".att_syntax\n" : "=m"(bRet) : "c"(dst), "d"(src), "S"(entries) : "eax", "memory");
|
||||
|
||||
#endif // _WIN32
|
||||
return bRet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user