shadPS4/src/core/devtools
Stephen Miller 3e1f5a0bfb
Kernel.Vmm: Handle sparse physical memory usage + other fixes (#3932)
* Initial work

* Bug fixing

deadlocks and broken unmaps

* Fix more bugs

broken memory pools

* More bug fixing

Still plenty more to fix though

* Even more bug fixing

Finally got Final Fantasy XV back to running, haven't found anymore bugs yet.

* More bugfixing

* Update memory.cpp

* Rewrite start

* Fix for oversized unmaps

* Oops

* Update address_space.cpp

* Clang

* Mac fix?

* Track VMA physical areas based on start in VMA

Allows me to simplify some logic, and should (finally) allow merging VMAs in memory code.

* Merge VMAs, fix some bugs

Finally possible thanks to address space + phys tracking changes

* Clang

* Oops

* Oops2

* Oops3

* Bugfixing

* SDK check for coalescing

Just to rule out any issues from games that wouldn't see coalescing in the first place.

* More ReleaseDirectMemory fixes

I really suck at logic some days

* Merge physical areas within VMAs

In games that perform a lot of similar mappings, you can wind up with 1000+ phys areas in one vma.
This should reduce some of the overhead that might cause.

* Hopefully fix Mac compile

Why must their uint64_t be different?

* Mac pt.2

Oops
2026-01-21 17:36:09 +02:00
..
gcn More devtools stuff (#1637) 2024-12-01 19:34:29 +01:00
widget Kernel.Vmm: Handle sparse physical memory usage + other fixes (#3932) 2026-01-21 17:36:09 +02:00
help.txt Devtools improvements I (#1392) 2024-10-16 13:12:46 +03:00
layer_extra.cpp add null gpu notice (#3768) 2025-11-02 19:55:43 +02:00
layer.cpp Emulator state (#3906) 2026-01-09 19:42:05 +02:00
layer.h cli: add --show-fps to the CLI launcher (#3860) 2025-12-08 21:02:54 +01:00
options.cpp Qt: Add FSR options to settings GUI (#3504) 2025-09-02 12:03:33 -07:00
options.h Devtools - Shader editing (#1705) 2024-12-09 21:11:11 +01:00