[decompiler] detect cpad-hold? and cpad-pressed? (#986)

* [decompiler] detect `cpad-hold?` and `cpad-pressed?`

* cleanup cpad macro button lookup

* better

* fix
This commit is contained in:
ManDude
2021-12-02 00:41:49 +00:00
committed by GitHub
parent 6a4348287e
commit d845524c23
30 changed files with 308 additions and 355 deletions
+4
View File
@@ -1849,6 +1849,10 @@ std::string fixed_operator_to_string(FixedOperatorKind kind) {
return "ppointer->process";
case FixedOperatorKind::SEND_EVENT:
return "send-event";
case FixedOperatorKind::CPAD_PRESSED_P:
return "cpad-pressed?";
case FixedOperatorKind::CPAD_HOLD_P:
return "cpad-hold?";
default:
assert(false);
return "";