BizHawk/PsxHawk.Core/PsxCore.h

34 lines
462 B
C
Raw Normal View History

2011-07-24 06:45:05 +00:00
#ifndef _PSXCORE_H_
#define _PSXCORE_H_
#include <stdio.h>
class DiscInterface;
2011-07-24 06:45:05 +00:00
class PsxCore
{
public:
PsxCore(void* _opaque);
2011-07-24 06:45:05 +00:00
private:
void* opaque;
DiscInterface* discInterface;
2011-07-24 06:45:05 +00:00
public:
void* Construct(void* ManagedOpaque)
{
return new PsxCore(ManagedOpaque);
}
struct Size
{
int width,height;
};
Size GetResolution();
void FrameAdvance();
void UpdateVideoBuffer(void* target);
};
#endif //_PSXCORE_H_