mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
27 lines
480 B
C
27 lines
480 B
C
#ifndef _RECOVER_RAW_H
|
|
#define _RECOVER_RAW_H
|
|
|
|
#include <stdint.h>
|
|
#include <boolean.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define CD_RAW_SECTOR_SIZE 2352
|
|
#define CD_RAW_C2_SECTOR_SIZE (2352+294) /* main channel plus C2 vector */
|
|
|
|
int CheckEDC(const unsigned char *a, bool b);
|
|
int CheckMSF(unsigned char *a, int b);
|
|
|
|
|
|
int ValidateRawSector(unsigned char *frame, bool xaMode);
|
|
bool Init_LEC_Correct(void);
|
|
void Kill_LEC_Correct(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|