mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
InputConfigDiag: Add a simple error status label
This tells you what you did wrong at a high level if you messed up.
This commit is contained in:
parent
3c7f223aa1
commit
bc17798ef2
4 changed files with 21 additions and 3 deletions
|
@ -228,9 +228,7 @@ void ControllerInterface::UpdateReference(ControllerInterface::ControlReference*
|
|||
ref->parsed_expression = NULL;
|
||||
|
||||
ControlFinder finder(*this, default_device, ref->is_input);
|
||||
ExpressionParseStatus status;
|
||||
status = ParseExpression(ref->expression, finder, &ref->parsed_expression);
|
||||
// XXX: do something with status?
|
||||
ref->parse_error = ParseExpression(ref->expression, finder, &ref->parsed_expression);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -64,6 +64,7 @@ public:
|
|||
ControlState range;
|
||||
std::string expression;
|
||||
const bool is_input;
|
||||
ciface::ExpressionParser::ExpressionParseStatus parse_error;
|
||||
|
||||
virtual ~ControlReference() {
|
||||
delete parsed_expression;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue