Version 3.2.2: in-memory replacements fill their slots exactly (padded ones played as silence)
This commit is contained in:
@@ -94,7 +94,7 @@ def test_subtitle_and_sound_in_one_package(synth_game, tmp_path):
|
||||
ws = _ws(root, tmp_path)
|
||||
before = _files(root)
|
||||
s = ws.catalog.by_key["BANK:%08X" % synth.DLG_MEDIA]
|
||||
ws.apply([(s, synth.wem(0.1, 1900), {})])
|
||||
ws.apply([(s, synth.fitting_wem(ws, s, 0.1, 1900), {})])
|
||||
ws.texts.apply({SUB_KEY: "Both."})
|
||||
assert ws.texts.current(SUB_KEY) == "Both." and ws.state(s) == "modified"
|
||||
ws.revert([s])
|
||||
|
||||
Reference in New Issue
Block a user