Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

shader/recompiler: Revert NVN storage buffer bias range

EmulationEnjoyercb135ba86fdc
diff --git a/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp b/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp
index 0cea799455..2d4feca02c 100644
--- a/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp
+++ b/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp
@@ -372,8 +372,8 @@ void CollectStorageBuffers(IR::Block& block, IR::Inst& inst, StorageInfo& info)
// avoid getting false positives
static constexpr Bias nvn_bias{
.index = 0,
- .offset_begin = 0x110,
- .offset_end = 0x610,
+ .offset_begin = 0x100,
+ .offset_end = 0x700,
.alignment = 16,
};
// Track the low address of the instruction