Commit 0d9909d
authored
as_dsk.cpp: Fix size of FLUX chunk in MOOF files (#14499)
The previous code allocated 512 bytes to accomodate a FLUX chunk
if the resulting file has flux tracks, but the actual size of a
FLUX chunk is 168 bytes (8 bytes header + 160 bytes chunk).
When MAME allocated 512 bytes, this left 344 zero-bytes padding in
the file that other tools would interpret as invalid chunks.
See file format reference: https://applesaucefdc.com/moof-reference/1 parent eabc4eb commit 0d9909d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
0 commit comments