Allow midasm hook return behavior to be configured.

This commit is contained in:
Skyth
2024-10-17 17:39:31 +03:00
parent 516e23f1f7
commit 6e49be2702
3 changed files with 89 additions and 5 deletions

View File

@@ -10,6 +10,14 @@ struct RecompilerMidAsmHook
{
std::string name;
std::vector<std::string> registers;
bool ret = false;
bool returnOnTrue = false;
bool returnOnFalse = false;
uint32_t jumpAddress = 0;
uint32_t jumpAddressOnTrue = 0;
uint32_t jumpAddressOnFalse = 0;
};
struct RecompilerConfig