re-init digi system after re-setting sample rate for shareware
This commit is contained in:
parent
fc26c7c605
commit
bb57521ef1
|
@ -3,6 +3,7 @@ D2X-Rebirth Changelog
|
||||||
20130610
|
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
|
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
|
20130422
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -765,6 +765,8 @@ int read_hamfile()
|
||||||
{
|
{
|
||||||
shareware = 1;
|
shareware = 1;
|
||||||
GameArg.SndDigiSampleRate = SAMPLE_RATE_11K;
|
GameArg.SndDigiSampleRate = SAMPLE_RATE_11K;
|
||||||
|
digi_close();
|
||||||
|
digi_init();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue