summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libspc/spc_codec.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-05-21 04:09:44 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-05-21 04:29:04 -0400
commit71b9685dcd7868f233ce762a07731f6f1fd62adb (patch)
tree9153ff0200f22a816e6fcc61ba9f53a9a860a69c /lib/rbcodec/codecs/libspc/spc_codec.h
parent00e55d0451930b6c271786d476c4d8b167e80477 (diff)
downloadrockbox-71b9685dcd7868f233ce762a07731f6f1fd62adb.tar.gz
rockbox-71b9685dcd7868f233ce762a07731f6f1fd62adb.zip
Fix FS#9577 - SNES player missing tracks on certain SPCs
Affected BRR cached waveforms but not realtime BRR decode as far as I could ascertain. BRR cached waves required loop points to be inside the initial waveform but this change removes that restriction. Change-Id: I0ef4db720e5c28bd7b2fb9ae255d27c0a7213f79
Diffstat (limited to 'lib/rbcodec/codecs/libspc/spc_codec.h')
-rw-r--r--lib/rbcodec/codecs/libspc/spc_codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libspc/spc_codec.h b/lib/rbcodec/codecs/libspc/spc_codec.h
index a8eee6bfef..9686694134 100644
--- a/lib/rbcodec/codecs/libspc/spc_codec.h
+++ b/lib/rbcodec/codecs/libspc/spc_codec.h
@@ -292,6 +292,7 @@ struct voice_wave_t
292 int loop; /* length of looping area */ 292 int loop; /* length of looping area */
293 unsigned block_header; /* header byte from current BRR block */ 293 unsigned block_header; /* header byte from current BRR block */
294 uint8_t const* addr; /* BRR waveform address in RAM */ 294 uint8_t const* addr; /* BRR waveform address in RAM */
295 unsigned loop_addr; /* Loop address in RAM */
295}; 296};
296#else /* !SPC_BRRCACHE */ 297#else /* !SPC_BRRCACHE */
297struct voice_wave_t 298struct voice_wave_t