diff options
| author | 2014-04-07 06:04:18 +0000 | |
|---|---|---|
| committer | 2014-04-07 06:04:18 +0000 | |
| commit | fec65e0b5766ade69e086d1c5b859d97494fce56 (patch) | |
| tree | c22b07938e9ad590184f1276bc2bead6d888a78d /src/lib/formats/cassimg.c | |
| parent | 30d94e51c53f30187a1bc565ef33e4744319790e (diff) | |
Cleanups and version bumpmame0153
Diffstat (limited to 'src/lib/formats/cassimg.c')
| -rw-r--r-- | src/lib/formats/cassimg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/cassimg.c b/src/lib/formats/cassimg.c index b7f1ea68ccd..20ccbc99407 100644 --- a/src/lib/formats/cassimg.c +++ b/src/lib/formats/cassimg.c @@ -379,7 +379,7 @@ static casserr_t lookup_sample(cassette_image *cassette, int channel, size_t sam /* is this block beyond the edge of our waveform? */ if (sample_blocknum >= cassette->blocks.count()) cassette->blocks.resize_keep_and_clear_new(sample_blocknum + 1); - + if (cassette->blocks[sample_blocknum] == NULL) cassette->blocks[sample_blocknum] = global_alloc(sample_block); |
