Seems Waninkoko's IOS249 is broken, as far as using it with this program goes. I have reupdated the binary again, back to IOS5 only. It is the only version I am supporting at this point. (I even stuck in some debugging lines to assure that the function was being called, prior to the 404, and it was indeed being called, but DVD initialization always failing when IOS249 was used. THe moment I switched the code back to IOS5, it worked like a charm.
PKGINGO said:
i think thats cuz nitrotux renamed /di to /do or something like that in ios5
Ahh yes, I forgot about that little "failsafe" option of mine
.
This should fix it:
Code:
bool WDVD_Init(int ios)
{
ÂÂÂÂif(di_fd >= 0) return 1;
ÂÂÂÂif (ios == 5)
ÂÂÂÂÂÂdi_fd = IOS_Open("/dev/do", 0);
ÂÂÂÂelse
ÂÂÂÂÂÂdi_fd = IOS_Open("/dev/di", 0);
ÂÂÂÂ...
CODE
int ios = 5;
void init()
{
ÂÂÂÂÂÂÂÂ
ÂÂÂÂif (IOS_ReloadIOS(5) >= 0)
ÂÂÂÂÂÂÂÂÂÂÂÂios = 5;
ÂÂÂÂÂÂÂÂelse if (IOS_ReloadIOS(249) >= 0)
ÂÂÂÂÂÂÂÂÂÂÂÂios = 249;
ÂÂÂÂÂÂÂÂelse
ÂÂÂÂÂÂÂÂÂÂÂÂios = -1;
...
}
bool initdvd()
{
ÂÂÂÂÂÂÂÂ...
ÂÂÂÂif (WDVD_Init( ios ) == false)
ÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂ ...