mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
SoftGPU: Fix refactoring mistake where we could return an uninitialized value. Oops.
This commit is contained in:
1 parent
9625eaf29a
commit
c2bf09744a
1 file changed
+3
-1
@@ -889,8 +889,10 @@ SingleFunc PixelJitCache::GetSingle(const PixelFuncID &id, BinManager *binner) {
|
||||
|
||||
if (cache_.Get(key, &singleFunc)) {
|
||||
lastSingle_.Set(key, singleFunc, clearGen_);
|
||||
return singleFunc;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
return singleFunc;
|
||||
}
|
||||
|
||||
void PixelJitCache::Compile(const PixelFuncID &id) {
|
||||
|
||||
Reference in new issue
Block a user