Remove unused function MmapOverride

This commit is contained in:
Paulo Matos 2024-07-16 11:16:07 +02:00
parent 6df51a57b3
commit 9017cd14c8

View File

@ -5,14 +5,6 @@ namespace {
using FEXCore::Allocator::MemoryRegion;
static std::optional<MemoryRegion> LastStackMapping;
void* MmapOverride(void* Ptr, size_t Size, int Flags, int, int, __off_t) {
if (Flags != PROT_NONE) {
LastStackMapping = MemoryRegion {Ptr, Size};
}
return Ptr;
}
struct Fixture {
Fixture() {
fd = mkstemp(filename);