| 557 | } |
| 558 | |
| 559 | bool MemScanner::setSearchRange(u32 beginRange, u32 endRange) |
| 560 | { |
| 561 | if (!DolphinComm::DolphinAccessor::isValidConsoleAddress(beginRange) || |
| 562 | !DolphinComm::DolphinAccessor::isValidConsoleAddress(endRange)) |
| 563 | { |
| 564 | return false; |
| 565 | } |
| 566 | |
| 567 | m_searchInRangeBegin = true; |
| 568 | m_searchInRangeEnd = true; |
| 569 | bool aram = DolphinComm::DolphinAccessor::isARAMAccessible(); |
| 570 | m_beginSearchRange = |
| 571 | Common::offsetToCacheIndex(Common::dolphinAddrToOffset(beginRange, aram), aram); |
| 572 | m_endSearchRange = Common::offsetToCacheIndex(Common::dolphinAddrToOffset(endRange, aram), aram); |
| 573 | |
| 574 | return true; |
| 575 | } |
| 576 | |
| 577 | bool MemScanner::setSearchRangeBegin(u32 beginRange) |
| 578 | { |
nothing calls this directly
no test coverage detected