mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-07 21:00:18 +02:00
29 lines
689 B
C++
29 lines
689 B
C++
#pragma once
|
|
#include <FEXCore/Core/Context.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace FEXCore::Config {
|
|
enum ConfigOption {
|
|
CONFIG_MULTIBLOCK,
|
|
CONFIG_MAXBLOCKINST,
|
|
CONFIG_DEFAULTCORE,
|
|
CONFIG_VIRTUALMEMSIZE,
|
|
CONFIG_SINGLESTEP,
|
|
CONFIG_GDBSERVER,
|
|
CONFIG_ACCURATESTDOUT,
|
|
CONFIG_ROOTFSPATH,
|
|
};
|
|
|
|
enum ConfigCore {
|
|
CONFIG_INTERPRETER,
|
|
CONFIG_IRJIT,
|
|
CONFIG_LLVMJIT,
|
|
CONFIG_CUSTOM,
|
|
};
|
|
|
|
void SetConfig(FEXCore::Context::Context *CTX, ConfigOption Option, uint64_t Config);
|
|
void SetConfig(FEXCore::Context::Context *CTX, ConfigOption Option, std::string const &Config);
|
|
uint64_t GetConfig(FEXCore::Context::Context *CTX, ConfigOption Option);
|
|
}
|