2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:47:43 +00:00

various implementation

This commit is contained in:
Jack Andersen
2015-08-22 20:42:29 -10:00
parent 6577d4ca13
commit f3b5b9f49a
45 changed files with 580 additions and 84 deletions

34
Runtime/CDvdRequest.hpp Normal file
View File

@@ -0,0 +1,34 @@
#ifndef __RETRO_CDVDREQUEST_HPP__
#define __RETRO_CDVDREQUEST_HPP__
namespace Retro
{
class CDvdRequest
{
public:
virtual void WaitUntilComplete()=0;
virtual bool IsComplete()=0;
virtual void PostCancelRequest()=0;
enum EMediaType
{
MediaARAM = 0,
MediaReal = 1,
MediaNOD = 2
};
virtual EMediaType GetMediaType() const=0;
};
class CNODDvdRequest : public CDvdRequest
{
public:
void WaitUntilComplete();
bool IsComplete();
void PostCancelRequest();
EMediaType GetMediaType() const {return MediaNOD;}
};
}
#endif // __RETRO_CDVDREQUEST_HPP__