Buildfix on Windows

This commit is contained in:
Henrik Rydgard 2017-03-15 19:33:33 +01:00
parent f4e56d5924
commit f5c3b15746
2 changed files with 6 additions and 5 deletions

View File

@ -52,16 +52,17 @@ public:
address += length;
return true;
}
u64 getVirtualAddress() override { return address; };
u64 getPhysicalAddress() override { return getVirtualAddress(); };
bool seekVirtual(u64 virtualAddress) override
int64_t getVirtualAddress() override { return address; };
int64_t getPhysicalAddress() override { return getVirtualAddress(); };
int64_t getHeaderSize() override { return 0; }
bool seekVirtual(int64_t virtualAddress) override
{
if (!Memory::IsValidAddress(virtualAddress))
return false;
address = virtualAddress;
return true;
}
bool seekPhysical(u64 physicalAddress) override { return seekVirtual(physicalAddress); }
bool seekPhysical(int64_t physicalAddress) override { return seekVirtual(physicalAddress); }
const std::wstring &getFileName() override { return dummyWFilename_; }
private:
u64 address;

@ -1 +1 @@
Subproject commit 11f2681678fa05698c488967aa0f71d0ffad9607
Subproject commit 770365d44df35d6e675c58bb2a774ca412278ef5