diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-01-23 08:44:23 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-01-23 08:44:23 +0000 |
| commit | 912c53cda0997e17d32d0b854823c3334b419db5 (patch) | |
| tree | 158f8a7ae9c68235fe4e1c14fa1efe5533242dc8 /libpcsxcore/cdriso.h | |
| parent | cd40452e610e32935cfc5bae96cc77209f79e7d9 (diff) | |
| download | pcsxr-912c53cda0997e17d32d0b854823c3334b419db5.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@40648 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/cdriso.h')
| -rw-r--r-- | libpcsxcore/cdriso.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libpcsxcore/cdriso.h b/libpcsxcore/cdriso.h index 473ff99e..896dbf82 100644 --- a/libpcsxcore/cdriso.h +++ b/libpcsxcore/cdriso.h @@ -21,6 +21,14 @@ #ifndef CDRISO_H #define CDRISO_H -int imageReaderInit(void); +void imageReaderInit(void); + +#define MSF2SECT(m, s, f) (((m) * 60 + (s) - 2) * 75 + (f)) +#define btoi(b) ((b) / 16 * 10 + (b) % 16) /* BCD to u_char */ + +#define CD_FRAMESIZE_RAW 2352 +#define DATA_SIZE (CD_FRAMESIZE_RAW - 12) + +#define SUB_FRAMESIZE 96 #endif |
