summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorptarabbia <[email protected]>2021-12-16 10:28:30 -0500
committerGitHub <[email protected]>2021-12-16 16:28:30 +0100
commit2db44bc34ae194e88e274b9e391ef9e23c06c3e3 (patch)
treeccc23ff0c47e26e39eb5d6f11c65f8fda7741c0c
parent86611e6459bd7ec3109d2414cefc30b47c602941 (diff)
downloadraylib-2db44bc34ae194e88e274b9e391ef9e23c06c3e3.tar.gz
raylib-2db44bc34ae194e88e274b9e391ef9e23c06c3e3.zip
Turn on interpolation for XM playback (#2216)
-rw-r--r--src/external/jar_xm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/jar_xm.h b/src/external/jar_xm.h
index 46969742..4a1bfbf6 100644
--- a/src/external/jar_xm.h
+++ b/src/external/jar_xm.h
@@ -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_instruments = READ_U16(offset + 12);
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
mempool += mod->num_patterns * sizeof(jar_xm_pattern_t);
mempool = ALIGN_PTR(mempool, 16);