What is the correct place for cdvd_rpc.h ?
Posted: Tue Jun 07, 2005 3:34 am
I have noticed that libcdvd.h is included like normal header files, in '$(PS2SDK)/ee/include'. But many projects I've worked with (currently LaunchELF) also require 'cdvd_rpc.h', which they expect to find in some separate project folder for libcdvd, which apparently no longer exists as such... And when I look inside the cdvd folder which is nowdays integrated with PS2SDK, then I find that no cdvd_rpc.h is to be found there anyway...
Searching the CVS repository I can only find this header file in a few project specific modules, such as 'libmp3' and 'neocdps2', etc. So I have to wonder: Is this header somehow no longer valid, or has it merely been neglected in the merging with ps2sdk ?
IMHO this header should be included together with the main cdvd header, and stored in the same folder. Thus using '$(PS2SDK)/ee/include' for the 'binary' distribution and 'ee/rpc/cdvd/include' in the ps2sdk module of the CVS. But 'older and wiser' heads than mine should decide this in any case, I just wanted to bring the problem to their attention.
Edit: Disregard the above. I now realize that the definitions in that header are obsolete, and that modern versions are available in '$(PS2SDK)/iop/include/cdvdman.h'. I also realize that the new prototypes are partly incompatible so I'll need to use the old libcdvd project files (I found v1.13 and v1.15 here at ps2dev.org), until I can modify my sources to use the modern prototypes.
Best regards: dlanor
Searching the CVS repository I can only find this header file in a few project specific modules, such as 'libmp3' and 'neocdps2', etc. So I have to wonder: Is this header somehow no longer valid, or has it merely been neglected in the merging with ps2sdk ?
IMHO this header should be included together with the main cdvd header, and stored in the same folder. Thus using '$(PS2SDK)/ee/include' for the 'binary' distribution and 'ee/rpc/cdvd/include' in the ps2sdk module of the CVS. But 'older and wiser' heads than mine should decide this in any case, I just wanted to bring the problem to their attention.
Edit: Disregard the above. I now realize that the definitions in that header are obsolete, and that modern versions are available in '$(PS2SDK)/iop/include/cdvdman.h'. I also realize that the new prototypes are partly incompatible so I'll need to use the old libcdvd project files (I found v1.13 and v1.15 here at ps2dev.org), until I can modify my sources to use the modern prototypes.
Best regards: dlanor