Turn on interpolation for XM playback (#2216)
This commit is contained in:
parent
86611e6459
commit
2db44bc34a
1 changed files with 1 additions and 1 deletions
2
src/external/jar_xm.h
vendored
2
src/external/jar_xm.h
vendored
|
@ -798,7 +798,7 @@ char* jar_xm_load_module(jar_xm_context_t* ctx, const char* moddata, size_t modd
|
||||||
mod->num_patterns = READ_U16(offset + 10);
|
mod->num_patterns = READ_U16(offset + 10);
|
||||||
mod->num_instruments = READ_U16(offset + 12);
|
mod->num_instruments = READ_U16(offset + 12);
|
||||||
mod->patterns = (jar_xm_pattern_t*)mempool;
|
mod->patterns = (jar_xm_pattern_t*)mempool;
|
||||||
mod->linear_interpolation = 0; // Linear interpolation can be set after loading
|
mod->linear_interpolation = 1; // Linear interpolation can be set after loading
|
||||||
mod->ramping = 1; // ramping can be set after loading
|
mod->ramping = 1; // ramping can be set after loading
|
||||||
mempool += mod->num_patterns * sizeof(jar_xm_pattern_t);
|
mempool += mod->num_patterns * sizeof(jar_xm_pattern_t);
|
||||||
mempool = ALIGN_PTR(mempool, 16);
|
mempool = ALIGN_PTR(mempool, 16);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue