mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
softjit: Make it an error to unlock a temp.
Also fix some register usage in logic ops.
This commit is contained in:
1 parent
75a918f96f
commit
4aa5bee14c
2 files changed
+6
-5
No files matched your search
@@ -205,6 +205,7 @@ void RegCache::Release(Reg &r, Purpose p) {
|
||||
}
|
||||
|
||||
void RegCache::Unlock(Reg &r, Purpose p) {
|
||||
_assert_msg_((p & FLAG_TEMP) == 0, "softjit Unlock() temp reg (%04X)", p);
|
||||
RegStatus *status = FindReg(r, p);
|
||||
if (status) {
|
||||
_assert_msg_(status->locked > 0, "softjit Unlock() reg that isn't locked (%04X)", p);
|
||||
|
||||
Reference in new issue
Block a user