summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-07-17 12:05:29 -0700
committerDentomologist <dentomologist@gmail.com>2025-07-17 13:45:08 -0700
commit43ab79ae23fbfd104890bd63dd7bdc4ff480a19c (patch)
treef15d4c31a0fbcce65463c89f302ad2ba14c2a897 /Source/Core/VideoCommon/TextureCacheBase.cpp
parentb6be5ee5d3a9b26880d860c614f578e643caadd4 (diff)
MemoryViewWidget: Fix updates at end of address space
Fix two bugs that occurred when viewing a memory range starting shortly before 0xffffffff. Bug 1: When there was at least one visible memory address at or after 0x0 none of the values would be displayed even when some of the addresses were valid. This happened because the loop condition in GetValues immediately returned false since m_address_range.first > m_address_range.second, causing m_values to be empty. This in turn led every address to be considered INVALID_MEMORY in UpdateColumns. Bug 2: When m_address_range.second was equal to 0xffffffff GetValues would enter an infinite loop. This happened because address would overflow to 0 after printing the last value in the table, causing the loop condition address <= m_address_range.second to be true forever.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions