oh crap
This commit is contained in:
parent
6a3d130c51
commit
a77d8bc87e
|
@ -4748,7 +4748,7 @@ bool FurnaceGUI::loop() {
|
||||||
info=fmt::sprintf(_("Set volume: %d (%.2X, INVALID!)"),p->data[cursor.y][3],p->data[cursor.y][3]);
|
info=fmt::sprintf(_("Set volume: %d (%.2X, INVALID!)"),p->data[cursor.y][3],p->data[cursor.y][3]);
|
||||||
} else {
|
} else {
|
||||||
float realVol=e->getGain(cursor.xCoarse,p->data[cursor.y][3]);
|
float realVol=e->getGain(cursor.xCoarse,p->data[cursor.y][3]);
|
||||||
info=fmt::sprintf(_("Set volume: %d (%.2X, %d%%)"),p->data[cursor.y][3],p->data[cursor.y][3],(int)(realVol*100.0f/(float)maxVol));
|
info=fmt::sprintf(_("Set volume: %d (%.2X, %d%%)"),p->data[cursor.y][3],p->data[cursor.y][3],(int)(realVol*100.0f));
|
||||||
}
|
}
|
||||||
hasInfo=true;
|
hasInfo=true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue