added banks loading from a .tic cart

This commit is contained in:
BADIM-PC\Vadim
2017-12-15 11:42:25 +03:00
parent e210027e71
commit 07616adaca
7 changed files with 66 additions and 49 deletions

View File

@@ -682,7 +682,7 @@ static s32 lua_sfx(lua_State* lua)
{
if (index >= 0)
{
tic_sound_effect* effect = memory->ram.sfx.data + index;
tic_sample* effect = memory->ram.sfx.samples.data + index;
note = effect->note;
octave = effect->octave;