Skip to content

Update hdc_st506_xt.c to try and fix seek audio not playing#6930

Merged
OBattler merged 1 commit into
86Box:masterfrom
jester-xbmc:master
Mar 14, 2026
Merged

Update hdc_st506_xt.c to try and fix seek audio not playing#6930
OBattler merged 1 commit into
86Box:masterfrom
jester-xbmc:master

Conversation

@jester-xbmc

Copy link
Copy Markdown
Contributor

hdd_audio_seek() was never called from the XT MFM controller, so seek sounds never played and #include for hdd_audio.h was missing.

also, hdd[].cur_cylinder was never updated after a seek, so
hdd_audio_seek() would always see cylinder_diff == 0 and return rigth away

Summary

try and fix seek audio not playing

Checklist

  • I have tested my changes locally and validated that the functionality works as intended
  • I have discussed this with core contributors already

see #6594

hdd_audio_seek() was never called from the XT MFM controller, so seek sounds never played and #include for hdd_audio.h was missing.

also, hdd[].cur_cylinder was never updated after a seek, so
     hdd_audio_seek() would always see cylinder_diff == 0 and return
     rigth away
@OBattler OBattler merged commit 6b7be88 into 86Box:master Mar 14, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants