mirror of
https://github.com/libretro/Play-.git
synced 2025-02-09 18:42:49 +00:00
Fixed basic block epilogue/prologue portability
git-svn-id: http://svn.purei.org/purei/trunk@210 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
parent
ebd2df89b9
commit
0bcb2e9108
@ -62,13 +62,23 @@ unsigned int CBasicBlock::Execute()
|
||||
|
||||
__asm
|
||||
{
|
||||
pusha
|
||||
push ebx
|
||||
push ecx
|
||||
push edx
|
||||
push esi
|
||||
push edi
|
||||
push ebp
|
||||
|
||||
mov eax, function
|
||||
mov ebp, context
|
||||
call eax
|
||||
|
||||
popa
|
||||
pop ebp
|
||||
pop edi
|
||||
pop esi
|
||||
pop edx
|
||||
pop ecx
|
||||
pop ebx
|
||||
}
|
||||
|
||||
// asm("pushl %%ebx\n\t"
|
||||
|
Loading…
x
Reference in New Issue
Block a user