Page 1 of 1

DVD

Posted: Sun Dec 04, 2011 12:29 pm
by Stewartiee
Hi there,
First off I am going to apologise for the lack of knowledge I have in C/C++. I am new to this, but learning new code everyday.

Basically I am trying to read the information from a game disk, ie. the game name etc.
From what I have read on data structures I should be able to do the following to get information from a structure:

Code: Select all

dvddiskid->gamename;
My question though is how I go around mounting the disk. The first parameter is asking for the dvdcmdblk, which is a structure. I have tried just passing it like:

Code: Select all

DVD_MountAsync(dvdcmdblk(), dvdcmdblk->dvddiskid);	
But that obviously doesn't work. Can anyone point me in the right direction?

Re: DVD

Posted: Wed Dec 28, 2011 2:21 pm
by antidote
Are you calling DVD_Init()?

If not, then thats why your code is failing.