Path: blob/master/psx/mednadisc/cdrom/CDAccess_Physical.h
2 views
#ifndef __MDFN_CDACCESS_PHYSICAL_H1#define __MDFN_CDACCESS_PHYSICAL_H23//4// This class's methods are NOT re-entrant!5//67// Don't include <cdio.h> here, else it will pollute with its #define's.89class CDAccess_Physical : public CDAccess10{11public:1213CDAccess_Physical(const std::string& path);14virtual ~CDAccess_Physical();1516virtual void Read_Raw_Sector(uint8 *buf, int32 lba);1718virtual void Read_TOC(CDUtility::TOC *toc);1920virtual bool Is_Physical(void) throw();2122virtual void Eject(bool eject_status);23private:2425void *p_cdio;2627void DetermineFeatures(void);28void ReadPhysDiscInfo(unsigned retry);2930void PreventAllowMediumRemoval(bool prevent);3132CDUtility::TOC PhysTOC;3334// TODO: 1-bit per sector on the physical CD. If set, don't read that sector.35uint8 SkipSectorRead[65536];36};3738#endif394041