Avoid virtual functions in NACT

Since NACT functions call asynchronous operations and we use
ASYNCIFY_IGNORE_INDIRECT in emscripten.
This commit is contained in:
kichikuou
2020-02-23 14:23:30 +09:00
parent d6aaf31b1a
commit 7ffa8bc306
5 changed files with 180 additions and 252 deletions
-13
View File
@@ -1661,16 +1661,3 @@ uint16 NACT_Sys2::cali2()
}
return val;
}
uint8 NACT_Sys2::getd()
{
return scenario_data[scenario_addr++];
}
uint16 NACT_Sys2::getw()
{
uint16 val = scenario_data[scenario_addr] | (scenario_data[scenario_addr + 1] << 8);
scenario_addr += 2;
return val;
}