mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-11-23 14:40:14 +00:00
Remove unused function MmapOverride
This commit is contained in:
parent
6df51a57b3
commit
9017cd14c8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user