GUI: Amiga rate limit

This commit is contained in:
tildearrow 2023-08-20 19:07:38 -05:00
parent 6faf80b5c6
commit 91d7157b5d

View file

@ -293,6 +293,9 @@ void FurnaceGUI::drawSampleEdit() {
if (sample->samples>131070) { if (sample->samples>131070) {
SAMPLE_WARN(warnLength,"Amiga: maximum sample length is 131070"); SAMPLE_WARN(warnLength,"Amiga: maximum sample length is 131070");
} }
if (dispatch!=NULL) {
MAX_RATE("Amiga",31250.0);
}
break; break;
case DIV_SYSTEM_SEGAPCM: case DIV_SYSTEM_SEGAPCM:
case DIV_SYSTEM_SEGAPCM_COMPAT: case DIV_SYSTEM_SEGAPCM_COMPAT: