Commit b33f23cc authored by Morph's avatar Morph
Browse files

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: default avatarFernando S. <1731197+FernandoS27@users.noreply.github.com>
parent e06a1337
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment