Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to autoboot from disc #31

Open
wants to merge 1 commit into
base: enhanced
Choose a base branch
from

Conversation

jdfr228
Copy link

@jdfr228 jdfr228 commented Apr 16, 2023

This pull request is intended to:

  • Eliminate an unnecessary disc drive reset when loading games from disc.
    • A manual reset is added for the Install Disc prompt where the reset is actually needed if a disc is already in the drive.
  • Add two options in the GUI Settings menu:
    • Autoboot Discs- This will attempt to autoboot a game disc during the initial splash loading screen. The user is shown a "Press B to cancel" prompt to skip the autoboot process, with a countdown timer identical to the 20 second waiting for HDD prompt when not in SD card mode. Defaults to OFF.
    • Autoboot Discs Delay- This is the time in seconds that the prompt will be shown before attempting to boot from disc, selectable from 0-5 seconds. Defaults to 3 seconds.

Some notes/things you may want to change:

  • drawCancel and cancelTxt in StartUpProcess.cpp can probably be re-used for the "Press B to cancel" message.
  • You may want to remove the short wait after a potential disc mounting failure in AutobootDisc()- depends on if the rest of the project often shows error messages to users, or if the delay is too long on real hardware.
  • Initialization functions past the "Loading Resources" message were moved to avoid a font reload making the autoboot prompt look very strange (any message past text loading would be affected by this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant