mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 11:01:01 +02:00
Puts the visibility of the main layer, application layers, and environment in to FEXCore instead of FEX. These layers aren't specific to FEX/FEXLoader and should live in FEXCore. Only the EmptyMapper remains in FEX, which should eventually move over to FEXConfig since that is the only user.
25 lines
537 B
C++
25 lines
537 B
C++
#pragma once
|
|
#include <FEXCore/Config/Config.h>
|
|
|
|
#include <cassert>
|
|
#include <list>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
/**
|
|
* @brief This is a singleton for storing global configuration state
|
|
*/
|
|
namespace FEX::Config {
|
|
class EmptyMapper : public FEXCore::Config::Layer {
|
|
public:
|
|
explicit EmptyMapper()
|
|
: FEXCore::Config::Layer(FEXCore::Config::LayerType::LAYER_MAIN) {
|
|
}
|
|
void Load() override {}
|
|
|
|
protected:
|
|
};
|
|
|
|
void SaveLayerToJSON(const std::string& Filename, FEXCore::Config::Layer *const Layer);
|
|
}
|