mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-08 11:00:18 +02:00
This isn't quite a 100% clean sweep of IWYU. There are some false positives where clang fails. Additionally there are still a few missed in the frontend side of things that I didn't get to
21 lines
485 B
C++
21 lines
485 B
C++
/*
|
|
$info$
|
|
tags: Bin|Opt
|
|
desc: Unused
|
|
$end_info$
|
|
*/
|
|
|
|
#include <FEXCore/Config/Config.h>
|
|
#include "Common/ArgumentLoader.h"
|
|
|
|
#include <memory>
|
|
|
|
int main(int argc, char **argv, char **const envp) {
|
|
FEXCore::Config::Initialize();
|
|
FEXCore::Config::AddLayer(FEXCore::Config::CreateMainLayer());
|
|
FEXCore::Config::AddLayer(std::make_unique<FEX::ArgLoader::ArgLoader>(argc, argv));
|
|
FEXCore::Config::AddLayer(FEXCore::Config::CreateEnvironmentLayer(envp));
|
|
FEXCore::Config::Load();
|
|
|
|
}
|