diff options
| author | 2022-03-02 18:31:15 -0500 | |
|---|---|---|
| committer | 2022-03-02 18:36:59 -0500 | |
| commit | b33f23cc4615f2eee002a972a62eb50eec8e18e5 (patch) | |
| tree | b5d3b7410bc77b511e4eee8e8a3d077c3b28f403 /src/core/frontend/framebuffer_layout.cpp | |
| parent | Merge pull request #7959 from merryhime/cmpxchg (diff) | |
| download | yuzu-b33f23cc4615f2eee002a972a62eb50eec8e18e5.tar.gz yuzu-b33f23cc4615f2eee002a972a62eb50eec8e18e5.tar.xz yuzu-b33f23cc4615f2eee002a972a62eb50eec8e18e5.zip | |
host_memory: Fix fastmem crashes in debug builds
It is possible for virtual_offset to not be 0 when the iterator is at the beginning, and thus, std::prev(it) may be evaluated, leading to a crash in debug mode.
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions