Shader Recompiler: Auto stub special registers and dump pipelines on exception.

This commit is contained in:
Fernando Sahmkow 2023-08-27 02:00:48 +02:00
parent 8208becc49
commit 8fcab24644
2 changed files with 15 additions and 1 deletions

View file

@ -161,7 +161,8 @@ enum class SpecialRegister : u64 {
LOG_WARNING(Shader, "(STUBBED) SR_AFFINITY");
return ir.Imm32(0); // This is the default value hardware returns.
default:
throw NotImplementedException("S2R special register {}", special_register);
LOG_CRITICAL(Shader, "(STUBBED) Special register {}", special_register);
return ir.Imm32(0); // This is the default value hardware returns.
}
}
} // Anonymous namespace