Files
FEX-Emu--FEX/Source/CommonCore/HostFactory.h
T
Lioncash 6c5abc8819 Core: Make CustomCPUFactory instances return unique_ptr
Makes the ownership intentions of the function explicit.
2021-06-09 21:53:07 -04:00

18 lines
345 B
C++

#pragma once
#include <memory>
namespace FEXCore::CPU {
class CPUBackend;
}
namespace FEXCore::Context{
struct Context;
}
namespace FEXCore::Core {
struct ThreadState;
}
namespace HostFactory {
std::unique_ptr<FEXCore::CPU::CPUBackend> CPUCreationFactory(FEXCore::Context::Context* CTX, FEXCore::Core::InternalThreadState *Thread);
}