diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-05-13 18:24:30 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-05-13 18:33:51 -0400 |
| commit | d7a3ce26def900a8e7c4945f202bea472668c757 (patch) | |
| tree | 2e606afb3cd958cac0ca12c4a2b970e9f481e037 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | bbc0aee5eaf3c9fbc810fdeb8ccb8308fde9021f (diff) | |
CodeViewWidget: Get rid of magic values in OnInsertBLR() and OnInsertNOP()
A call like ReplaceAddress(address, 0) is pretty ambiguous; so is
ReplaceAddress(address, false), so use an enum class that tells people
straight-up what the replacer is.
This also gets rid of the really weird naming, where if 'blr' is true,
we'd be replacing the address with a NOP, rather than an actual BLR
instruction, so we invert that so it actually makes sense. There's no
actual bug fixed here though, considering the OnInsert functions
specified the correct values; it's literally just weird naming.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions
