Voodooprojects
Chameleon => DevTalk => Topic started by: Slice on January 29, 2011, 09:54:21 PM
-
Is there anybody going to do right order?
// TODO: fix this, the order does matter, and it's not correct now.
// Also try to load Extensions from boot helper partitions.
if (gBootVolume->flags & kBVFlagBooter)
{
strcpy(dirSpecExtra, "/com.apple.boot.P/System/Library/");
if (FileLoadDrivers(dirSpecExtra, 0) != 0)
{
strcpy(dirSpecExtra, "/com.apple.boot.R/System/Library/");
if (FileLoadDrivers(dirSpecExtra, 0) != 0)
{
strcpy(dirSpecExtra, "/com.apple.boot.S/System/Library/");
FileLoadDrivers(dirSpecExtra, 0);
}
}
}
PRS = Paper, Rock, Scissor
Order must be:
1. If P and R then P.
2. If P and S then S.
3. If R and S then R.
-
It's fixed in a couple of version of my branch (never committed). I didn't like how I fixed it so instead I added the TODO message.
No available branches currently have it fixed.
Note that this should probably be under the development section.