mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 23:03:18 +00:00
parent
fda2fdae69
commit
0c5b91e1fb
17 changed files with 15 additions and 113 deletions
|
@ -124,7 +124,7 @@ private:
|
|||
using FuncReturn = typename std::invoke_result<Func, ImageId, Image&>::type;
|
||||
static constexpr bool BOOL_BREAK = std::is_same_v<FuncReturn, bool>;
|
||||
boost::container::small_vector<ImageId, 32> images;
|
||||
ForEachPage(cpu_addr, size, [this, &images, cpu_addr, size, func](u64 page) {
|
||||
ForEachPage(cpu_addr, size, [this, &images, func](u64 page) {
|
||||
const auto it = page_table.find(page);
|
||||
if (it == nullptr) {
|
||||
if constexpr (BOOL_BREAK) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue