-
Notifications
You must be signed in to change notification settings - Fork 7
Add default_folder config setting #2
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,7 @@ __attribute_data__ static u8 *cube_text_tex = NULL; | |
| __attribute_data__ char cube_logo_path[MAX_FILE_NAME] = {0}; | ||
| __attribute_data__ u32 force_progressive = 0; | ||
| __attribute_data__ u32 force_swiss_boot = 0; | ||
| __attribute_data__ char default_folder[MAX_FILE_NAME] = {0}; | ||
|
|
||
| // used if we are switching to 60Hz on a PAL IPL | ||
| __attribute_data__ static int fix_pal_ntsc = 0; | ||
|
|
@@ -353,8 +354,14 @@ __attribute_used__ void pre_thread_init() { | |
|
|
||
| gm_init_heap(); | ||
| gm_init_thread(); | ||
|
|
||
| if (!start_passthrough_game) { | ||
| gm_start_thread("/"); | ||
| if (dvd_custom_open(default_folder, FILE_ENTRY_TYPE_DIR, 0) == 0) { | ||
|
||
| dvd_custom_close(dvd_custom_status()->fd); | ||
| gm_start_thread(default_folder); | ||
| } else { | ||
| gm_start_thread("/"); | ||
| } | ||
| } | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update print string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed