-
Notifications
You must be signed in to change notification settings - Fork 271
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
Overhaul memory card selection and folder creation code #308
Conversation
I made a quick test. If I will pull out MC from 1st slot, have only MC in 2nd slot. Save settings. When I will put MC in 1st slot and I want to save settings. Here is my problem. So with 2 MC, setting will always be saved on MC in 1st slot, no matter if settings already exists on MC in 2nd slot. |
The logic is roughly the following: I believe this is the correct logic for memory card selection. |
Here is my problem. EDIT: |
I don't have multiple memory cards to test, so let me know if this latest push fixes the issue for you. |
Thank you.
While loading settings I"m getting:
|
Let me know if the |
Okay, the |
While saving settings everything seems to be fine:
But not while loading.
Instead of:
EDIT: I need to re-check it, because you have uploaded new version. |
New version\commit works for me.
While loading setting I'm getting:
I'm only curious when OPL is looking for I'm asking, because currently with 3rd party MC, booting I think is taking ~1\2 s more time. I also need to check if priority system works. |
The folder is only checked/created when saving settings. |
Hmm this is strange. Settings were loaded from HDD. |
I removed the additional memory card checks, so let me know if the loading time improves. |
Loading time has been improved. It takes 18 s in OPL 1442 to see logo. So 18 s vs. 22 s (previously 32 s). |
Probably last question. OPL was launched from hdd0. |
@J013k https://github.com/ps2homebrew/Open-PS2-Loader/blob/master/src/opl.c#L627 |
From 5443a19
|
Thanks @zappepappe & @KrahJohlito. It makes me wonder a bit:
From what I remember in my scenario OPL was launched from HDD. |
@J013k are you able to test other revisions to see where this behaviour changed? I would suggest trying r1443 then r1444 if it’s not caused by this commit (which I don’t think it is). |
Currently I'm far away from home. |
Additionally can someone try to test without any additional device with only memory card(s) this build From my test with genuine MC (boot sound enabled) it takes ~10 sec to see OPL logo in OPL 1555. Results with 3rd party MC may also be different: OPL loaded (ELF + config) from MC. As for save settings priorytety I can make an another issue. Because this PR seems to fix root of a problem... |
The boot time may have changed because the memory card is being checked. |
Would you like to continue discussion about save setting priority here, |
I think creating separate issue should be good. I'll merge this. |
Thank you. I will try to create separate issue in free time. Best regards. |
Overhaul memory card selection and folder creation code
Overhaul memory card selection and folder creation code
Pull Request checklist
Note: these are not necessarily requirements
Pull Request description
Fixes OPL directory creation on memory card.
Supersedes #307
Closes #302