re-init digi system after re-setting sample rate for shareware

This commit is contained in:
zico 2013-06-10 17:19:37 +02:00
parent fc26c7c605
commit bb57521ef1
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@ D2X-Rebirth Changelog
20130610
--------
misc/hmp.c: Made hmp code actually read tempo. Due to missing documentation of the format I can only guess it's a 4 bit int
main/piggy.c: re-init digi system after re-setting sample rate for shareware
20130422
--------

View file

@ -765,6 +765,8 @@ int read_hamfile()
{
shareware = 1;
GameArg.SndDigiSampleRate = SAMPLE_RATE_11K;
digi_close();
digi_init();
}
}