Add support for the "fastcall" calling convention

Callee cleans the stack and first two arguments are passed in registers ecx and edx.
You could emulate this by choosing stdcall and setting the custom_registers on the arguments manually, but this is easier.
This commit is contained in:
Peace-Maker
2019-06-20 02:14:07 +02:00
parent 70eee8482a
commit 891fa5352e
9 changed files with 144 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ enum CallingConvention
CallConv_CDECL,
CallConv_THISCALL,
CallConv_STDCALL,
CallConv_FASTCALL,
};
enum MRESReturn