Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"

This commit is contained in:
liamwhite
2023-02-02 15:53:28 -05:00
committed by GitHub
parent 8a33f8bd30
commit b01698775b
61 changed files with 326 additions and 368 deletions

View File

@@ -63,7 +63,7 @@ private:
return ctx.ReadBuffer(1);
}
return std::span<const u8>{};
return std::vector<u8>{};
}();
LOG_DEBUG(Service_PREPO,
@@ -90,7 +90,7 @@ private:
return ctx.ReadBuffer(1);
}
return std::span<const u8>{};
return std::vector<u8>{};
}();
LOG_DEBUG(Service_PREPO,
@@ -142,7 +142,7 @@ private:
return ctx.ReadBuffer(1);
}
return std::span<const u8>{};
return std::vector<u8>{};
}();
LOG_DEBUG(Service_PREPO, "called, title_id={:016X}, data1_size={:016X}, data2_size={:016X}",
@@ -166,7 +166,7 @@ private:
return ctx.ReadBuffer(1);
}
return std::span<const u8>{};
return std::vector<u8>{};
}();
LOG_DEBUG(Service_PREPO,