mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
ISO loading, menus, LEDs
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@16 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
d0d47c5be3
commit
bf098bc532
15 changed files with 914 additions and 295 deletions
38
Pico/cd/cd_file.h
Normal file
38
Pico/cd/cd_file.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
#ifndef _CD_FILE_H
|
||||
#define _CD_FILE_H
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define TYPE_ISO 1
|
||||
#define TYPE_BIN 2
|
||||
#define TYPE_MP3 3
|
||||
//#define TYPE_WAV 4
|
||||
|
||||
|
||||
struct _file_track {
|
||||
FILE *F;
|
||||
int Lenght;
|
||||
int Type;
|
||||
};
|
||||
|
||||
extern struct _file_track Tracks[100];
|
||||
extern char Track_Played;
|
||||
|
||||
|
||||
int FILE_Init(void);
|
||||
void FILE_End(void);
|
||||
int Load_ISO(const char *iso_name, int is_bin);
|
||||
void Unload_ISO(void);
|
||||
int FILE_Read_One_LBA_CDC(void);
|
||||
int FILE_Play_CD_LBA(void);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue