more TODO

This commit is contained in:
2025-07-03 13:16:59 +02:00
parent 3546fe1093
commit 63482ee195
2 changed files with 8 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ bool nn_invokeComponentMethod(nn_component *component, const char *name) {
void nn_simulateBufferedIndirect(nn_component *component, double amount, double amountPerTick) {
double maximum = 100.0;
double x = amount / amountPerTick * maximum;
double x = amount * maximum / amountPerTick;
component->indirectBufferProgress += x;
if(component->indirectBufferProgress >= maximum) {
component->indirectBufferProgress = 0;