34 lines
462 B
C++
34 lines
462 B
C++
#ifndef _PSXCORE_H_
|
|
#define _PSXCORE_H_
|
|
|
|
#include <stdio.h>
|
|
|
|
class DiscInterface;
|
|
|
|
class PsxCore
|
|
{
|
|
public:
|
|
PsxCore(void* _opaque);
|
|
|
|
private:
|
|
void* opaque;
|
|
DiscInterface* discInterface;
|
|
|
|
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_
|