totato timing calc and improve zox ngc hs timing (big perf wins)

This commit is contained in:
Green Sky 2024-02-03 16:46:04 +01:00
parent 7a92921cb1
commit a533eae7ba
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

@ -1 +1 @@
Subproject commit 2b73d76f9308e12cd8eceec71cc22d38671f1ca0 Subproject commit 6a48ace06f296b1a113890d80ffa5c19f2f4f58c

2
external/totato vendored

@ -1 +1 @@
Subproject commit 343c8e7012308b9dc8a6ae4427b178e8936b711e Subproject commit 8b3af55834517bddce3ff9944b21c0195a7c67d9

View File

@ -58,9 +58,7 @@ SOLANA_PLUGIN_EXPORT void solana_plugin_stop(void) {
} }
SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float delta) { SOLANA_PLUGIN_EXPORT float solana_plugin_tick(float delta) {
g_zngchs->tick(delta); return g_zngchs->tick(delta);
return 0.1f; // TODO: use the actual timers
} }
} // extern C } // extern C