mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
PPU: fixup for old CPU
Abort building interpreter function when out of registers.
This commit is contained in:
parent
b42fae0989
commit
d572d90bb7
@ -117,7 +117,12 @@ namespace asmjit
|
||||
|
||||
vec_type vec_alloc()
|
||||
{
|
||||
ensure(~vec_allocated);
|
||||
if (!~vec_allocated)
|
||||
{
|
||||
fail_flag = true;
|
||||
return vec_type{0};
|
||||
}
|
||||
|
||||
const u32 idx = std::countr_one(vec_allocated);
|
||||
vec_allocated |= vec_allocated + 1;
|
||||
return vec_type{idx};
|
||||
|
Loading…
Reference in New Issue
Block a user