mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-07 06:00:16 +02:00
Common: Move ApplyFEXExtendedVolatileMetadata to Common
It is going to be used by Linux. Also adds support for file offset handling, which is required on Linux but not on win32.
This commit is contained in:
4 files changed
+36
-46
No files matched your search
@@ -39,10 +39,10 @@ $end_info$
|
||||
#include "Common/CRT/CRT.h"
|
||||
#include "Common/PortabilityInfo.h"
|
||||
#include "Common/Handle.h"
|
||||
#include "Common/VolatileMetadata.h"
|
||||
#include "DummyHandlers.h"
|
||||
#include "BTInterface.h"
|
||||
#include "Windows/Common/SHMStats.h"
|
||||
#include "Windows/Common/VolatileMetadata.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
@@ -314,7 +314,7 @@ void LoadImageVolatileMetadata(const fextl::string& ModuleName, uint64_t Address
|
||||
|
||||
auto it = ExtendedMetaData.find(ModuleName);
|
||||
if (it != ExtendedMetaData.end()) {
|
||||
FEX::Windows::ApplyFEXExtendedVolatileMetadata(it->second, VolatileInstructions, VolatileValidRanges, Address, EndAddress);
|
||||
FEX::VolatileMetadata::ApplyFEXExtendedVolatileMetadata(it->second, VolatileInstructions, VolatileValidRanges, Address, EndAddress);
|
||||
}
|
||||
|
||||
if (VolatileInstructions.empty() && VolatileValidRanges.Empty()) {
|
||||
|
||||
Reference in new issue
Block a user