mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 13:28:02 +03:00
Do not stop music when playing XA with immediate routine
This commit is contained in:
parent
b99c30ef04
commit
0c5864f693
1 changed files with 1 additions and 3 deletions
|
@ -180,6 +180,7 @@ void
|
|||
sound_play_xa(const char *filename, int double_speed,
|
||||
uint8_t channel, uint32_t loopback_sector)
|
||||
{
|
||||
// Stop sound if playing. We'll need the CD right now
|
||||
sound_stop_xa();
|
||||
CdlLOC loc = sound_find_xa(filename);
|
||||
/* int sectorn = CdPosToInt(&loc); */
|
||||
|
@ -196,9 +197,6 @@ sound_play_xa_immediate(
|
|||
{
|
||||
CdlFILTER filter;
|
||||
|
||||
// Stop sound if playing. We'll need the CD right now
|
||||
sound_stop_xa();
|
||||
|
||||
/* int sectorn = CdPosToInt(&file.pos); */
|
||||
/* int numsectors = (file.size + 2047) / 2048; */
|
||||
/* printf("%s: Sector %d (size: %d => %d sectors).\n", */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue