| 1 | /* Mednafen - Multi-system Emulator |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by |
| 5 | * the Free Software Foundation; either version 2 of the License, or |
| 6 | * (at your option) any later version. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program; if not, write to the Free Software |
| 15 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 16 | */ |
| 17 | |
| 18 | #include "../FileStream.h"cxx . . $ `<file>/mednafen/FileStream.h`/ |
| 19 | #include "../MemoryStream.h"cxx . . $ `<file>/mednafen/MemoryStream.h`/ |
| 20 | #include "CDAccess.h"cxx . . $ `<file>/mednafen/cdrom/CDAccess.h`/ |
| 21 | |
| 22 | #include <vector> |
| 23 | |
| 24 | class CDAccess_CCDcxx . . $ CDAccess_CCD# : public CDAccesscxx . . $ CDAccess# |
| 25 | { |
| 26 | public: |
| 27 | |
| 28 | CDAccess_CCDcxx . . $ CDAccess_CCD#CDAccess_CCD(90ef5b561fbcb8de).(const char *path, bool image_memcache); |
| 29 | virtual ~cxx . . $ CDAccess_CCD#`~CDAccess_CCD`(ced63f7c635d850d).CDAccess_CCDcxx . . $ CDAccess_CCD#(); |
| 30 | |
| 31 | virtual void Read_Raw_Sectorcxx . . $ CDAccess_CCD#Read_Raw_Sector(fc0f0e1646c32816).(uint8cxx . . $ uint8# *buf, int32cxx . . $ int32# lba); |
| 32 | |
| 33 | virtual void Read_TOCcxx . . $ CDAccess_CCD#Read_TOC(421bcafe44c737e9).(CDUtilitycxx . . $ CDUtility/::TOCcxx . . $ CDUtility/TOC# *toc); |
| 34 | |
| 35 | virtual bool Is_Physicalcxx . . $ CDAccess_CCD#Is_Physical(77ce49a7840d23c7).(void) throw(); |
| 36 | |
| 37 | virtual void Ejectcxx . . $ CDAccess_CCD#Eject(b45ddcbc8423892c).(bool eject_status); |
| 38 | |
| 39 | private: |
| 40 | |
| 41 | void Loadcxx . . $ CDAccess_CCD#Load(90ef5b561fbcb8de).(const char *path, bool image_memcache); |
| 42 | void Cleanupcxx . . $ CDAccess_CCD#Cleanup(49f6e7a06ebc5aa8).(void); |
| 43 | |
| 44 | void CheckSubQSanitycxx . . $ CDAccess_CCD#CheckSubQSanity(49f6e7a06ebc5aa8).(void); |
| 45 | |
| 46 | Streamcxx . . $ Stream#* img_streamcxx . . $ CDAccess_CCD#img_stream.; |
| 47 | Streamcxx . . $ Stream#* sub_streamcxx . . $ CDAccess_CCD#sub_stream.; |
| 48 | size_t img_numsectorscxx . . $ CDAccess_CCD#img_numsectors.; |
| 49 | CDUtilitycxx . . $ CDUtility/::TOCcxx . . $ CDUtility/TOC# tocdcxx . . $ CDAccess_CCD#tocd.; |
| 50 | }; |