summaryrefslogtreecommitdiff
path: root/src/web_service/web_backend.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-06-21 21:55:24 -0700
committerGravatar Yuri Kunde Schlesner2017-06-21 22:56:31 -0700
commitf2a5a77e278dbca3ce717ecae44b1aa44554c413 (patch)
treef2237690e6f3072ac81dee383f72869a44ade8a3 /src/web_service/web_backend.cpp
parentMerge pull request #2792 from wwylele/lutlutlut (diff)
downloadyuzu-f2a5a77e278dbca3ce717ecae44b1aa44554c413.tar.gz
yuzu-f2a5a77e278dbca3ce717ecae44b1aa44554c413.tar.xz
yuzu-f2a5a77e278dbca3ce717ecae44b1aa44554c413.zip
Memory: Fix crash when unmapping a VMA covering cached surfaces
Unmapping pages tries to flush any cached GPU surfaces touching that region. When a cached page is invalidated, GetPointerFromVMA() is used to restore the original pagetable pointer. However, since that VMA has already been deleted, this hits an UNREACHABLE case in that function. Now when this happens, just set the page type to Unmapped and continue, which arrives at the correct end result.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions