mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Fix performance bug in IRJit when using rewind states
This commit is contained in:
1 parent
82dd963df6
commit
cd5cf87120
2 files changed
+4
-2
No files matched your search
@@ -51,7 +51,9 @@ void IRFrontend::DoState(PointerWrap &p) {
|
||||
Do(p, js.startDefaultPrefix);
|
||||
if (s >= 2) {
|
||||
Do(p, js.hasSetRounding);
|
||||
js.lastSetRounding = 0;
|
||||
if (p.mode == p.MODE_READ) {
|
||||
js.lastSetRounding = 0;
|
||||
}
|
||||
} else {
|
||||
js.hasSetRounding = 1;
|
||||
}
|
||||
|
||||
+1
-1
@@ -336,7 +336,7 @@ enum GEVertexType : uint32_t {
|
||||
};
|
||||
|
||||
#define GE_CLEARMODE_COLOR (1<<8)
|
||||
#define GE_CLEARMODE_ALPHA (1<<9) //or stencil?
|
||||
#define GE_CLEARMODE_ALPHA (1<<9) // and stencil
|
||||
#define GE_CLEARMODE_Z (1<<10)
|
||||
#define GE_CLEARMODE_ALL (GE_CLEARMODE_COLOR|GE_CLEARMODE_ALPHA|GE_CLEARMODE_Z)
|
||||
|
||||
|
||||
Reference in new issue
Block a user