Skip to content

Fix disc eject bug#15

Open
Leseratte10 wants to merge 1 commit intoChadderz121:masterfrom
Leseratte10:patch-1
Open

Fix disc eject bug#15
Leseratte10 wants to merge 1 commit intoChadderz121:masterfrom
Leseratte10:patch-1

Conversation

@Leseratte10
Copy link
Contributor

Yeah ... interesting bug.

If the user inserts the disc the wrong way (label side down), the channel hangs and you can no longer eject the disc to insert it correctly (The EJECT button no longer works).

I assume this is because of the endless loop that calls DI_ReadDiscID over and over again. Adding a small usleep for the error case allows the user to eject the disc again, and the DI_DiscInserted check together with the goto allow the disc loading to restart once the user inserted the disc again - hopefully right-side up this time.

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.

1 participant