mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-29 23:17:54 -05:00
texture_cache return invalid buffer on deactivated color_mask
This commit is contained in:
committed by
ReinUsesLisp
parent
6bd034eae9
commit
d65a4af895
@ -133,6 +133,11 @@ public:
|
||||
return {};
|
||||
}
|
||||
|
||||
if (regs.color_mask[index].raw != 0) {
|
||||
SetEmptyColorBuffer(index);
|
||||
return {};
|
||||
}
|
||||
|
||||
const auto& config{regs.rt[index]};
|
||||
const auto gpu_addr{config.Address()};
|
||||
if (!gpu_addr) {
|
||||
|
Reference in New Issue
Block a user