Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Build fix for something which shouldn't have compiled successfully to begin with.

Tony Wasserka8db65723d233
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 5fe15a2185..10fa733557 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -109,7 +109,7 @@ struct Regs {
u32 address;
- u32 GetPhysicalAddress() {
+ u32 GetPhysicalAddress() const {
return DecodeAddressRegister(address) - Memory::FCRAM_PADDR + Memory::HEAP_GSP_VADDR;
}