mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00: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:
parent
10127a0451
commit
55ba1c7c9c
5 changed files with 251 additions and 190 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue