test(ngs2): expect the sampler startup delay in the UserFx buffer test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
SwagandClaude Opus 5.5 committed 2026-10-30 20:56:29 -04:00
1 parent 8306788ab3
commit c17c71e4d1
1 file changed
+4 -1
@@ -938,7 +938,10 @@ static void TestCustomUserFxBuffers() {
for (int grain = 0; grain < 2; grain++) {
const auto out = Render(system);
for (std::uint32_t i = 0; i < Grain; i++) Require(out[i * 2] == 0.25f && out[i * 2 + 1] == 0.25f);
for (std::uint32_t i = 0; i < Grain; i++) {
const float expected = grain == 0 && i < 3 ? 0.0f : 0.25f;
Require(out[i * 2] == expected && out[i * 2 + 1] == expected);
}
}
Require(sceNgs2RackDestroy(rack, nullptr) == SCE_NGS2_OK);