mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
riscv: Workaround Zicsr detection issue.
This commit is contained in:
1 parent
9bef58b7f5
commit
0c99d6d3fa
1 file changed
+2
-1
@@ -221,7 +221,8 @@ void CPUInfo::Detect()
|
||||
RiscV_D = info.features.D;
|
||||
RiscV_C = info.features.C;
|
||||
RiscV_V = info.features.V;
|
||||
RiscV_Zicsr = info.features.Zicsr;
|
||||
// Seems to be wrong sometimes, assume we have it if we have F.
|
||||
RiscV_Zicsr = info.features.Zicsr || info.features.F;
|
||||
|
||||
truncate_cpy(brand_string, info.uarch);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user