mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
InputCommon: Move initial dynamic input texture configuration logic to a 'specification 1' function and load in a 'specification' attribute that defaults to 1 if not present (with 1 being the only valid value at the moment)
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
// Copyright 2021 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <picojson.h>
|
||||
|
||||
#include "InputCommon/DynamicInputTextures/DITData.h"
|
||||
|
||||
namespace InputCommon::DynamicInputTextures
|
||||
{
|
||||
bool ProcessSpecificationV1(picojson::value& root, std::vector<Data>& input_textures,
|
||||
const std::string& base_path, const std::string& json_file);
|
||||
}
|
Reference in New Issue
Block a user