Fix for SIMD not being initialized

This commit is contained in:
Alex
2023-03-14 06:23:57 +02:00
parent f54b46149d
commit 855384aead
3 changed files with 17 additions and 14 deletions

View File

@ -378,21 +378,21 @@ ParseSuccess:
case 'o':
{
value = cag_option_get_value(&context);
strcmp(value, "true") ? config.InterruptsOnCrash = false : config.InterruptsOnCrash = true;
strcmp(value, "true") == 0 ? config.InterruptsOnCrash = true : config.InterruptsOnCrash = false;
KPrint("\eAAFFAAInterrupts on crash: %s", value);
break;
}
case 'l':
{
value = cag_option_get_value(&context);
strcmp(value, "true") ? config.UnlockDeadLock = false : config.UnlockDeadLock = true;
strcmp(value, "true") == 0 ? config.UnlockDeadLock = true : config.UnlockDeadLock = false;
KPrint("\eAAFFAAUnlocking the deadlock after 10 retries");
break;
}
case 's':
{
value = cag_option_get_value(&context);
strcmp(value, "true") ? config.SIMD = false : config.SIMD = true;
strcmp(value, "true") == 0 ? config.SIMD = true : config.SIMD = false;
KPrint("\eAAFFAASingle Instruction, Multiple Data (SIMD): %s", value);
break;
}