You re making mistake with this function.
At first, FileOpen supports
handle data type (you can use
char too coz its the same), not as array (like this
*file).
Secondable, the second parameter of the FileOpen suppose to be the path to the folder, just without the filename.
Use these lines instead:
PHP Code:
HANDLE ArtFile;
ArtFile = FileOpen("U:\\SOME_FOLDER\\RES_FILE.RES", "U\\SOME_FOLDER","R");
DisplayPicFromFile(1,20,ArtFile, 0, vinyl_XSIZE,vinyl_YSIZE, NULL, Normal, 220);//actual album art //
FileClose(ArtFile);
if that won't work, try to predefine parameters of the FileOpen like this:
char Filepath[12];
char Dirpath[12];
Filepath[0] = 'U';
Filepath[1] = ':'
Filepath[2] = '\'
... and so on so on.
Filepath[9?] = '\0' - remember to set the last array with this value, it defines ending of the string.
and then call FileOpen(Filepath, Dirpath, "R");
I would test it out but I cant compile working firmware for my player. I have Rockchip 2606A 320x240 and the screen is not supported so far