mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-21 00:38:14 +00:00
texture_cache return invalid buffer on deactivated color_mask
This commit is contained in:
parent
7884bf60a6
commit
4298dc8290
2 changed files with 9 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue