mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-02 17:27:25 +00:00
fix pzi import even more
This commit is contained in:
parent
7578ce6015
commit
5ff6adc34d
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ void DivEngine::loadPZI(SafeReader& reader, std::vector<DivSample*>& ret, String
|
||||||
for(int i = 0; i < PZI_BANK_SIZE; i++)
|
for(int i = 0; i < PZI_BANK_SIZE; i++)
|
||||||
{
|
{
|
||||||
if (headers[i].start_pointer < MAX_SANITY_CAP && headers[i].sample_length < MAX_SANITY_CAP &&
|
if (headers[i].start_pointer < MAX_SANITY_CAP && headers[i].sample_length < MAX_SANITY_CAP &&
|
||||||
headers[i].start_pointer > 0 && headers[i].sample_length > 0)
|
headers[i].sample_length > 0)
|
||||||
{
|
{
|
||||||
DivSample* s = new DivSample;
|
DivSample* s = new DivSample;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue