hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.4k stars 2.19k forks source link

Memory::IsValidAddress: Consider VRAM with a kernel flag invalid. #19627

Closed hrydgard closed 1 week ago

hrydgard commented 1 week ago

We don't have it mapped in our memory map, so this can actually crash checked reads like Read_U32.

Since it isn't mapped, and it can't possibly be valid in retail PSP games to access VRAM this way, I don't think this will cause any problems.

However, if it does, we'll have to add the corresponding mappings to the memory map.