mirror of
https://github.com/libretro/Play-.git
synced 2025-01-10 18:42:53 +00:00
1ba2aa5dde
git-svn-id: http://svn.purei.org/purei/trunk@354 b36208d7-6611-0410-8bec-b1987f11c4a2
30 lines
712 B
C++
30 lines
712 B
C++
#ifndef _VPU1_H_
|
|
#define _VPU1_H_
|
|
|
|
#include "VPU.h"
|
|
|
|
class CVPU1 : public CVPU
|
|
{
|
|
public:
|
|
CVPU1(CVIF&, unsigned int, const CVIF::VPUINIT&);
|
|
virtual void SaveState(CZipArchiveWriter&);
|
|
virtual void LoadState(CZipArchiveReader&);
|
|
virtual uint32 GetTOP() const;
|
|
virtual void Reset();
|
|
|
|
protected:
|
|
virtual void ExecuteCommand(StreamType&, CODE);
|
|
virtual void Cmd_DIRECT(StreamType&, CODE);
|
|
virtual void Cmd_UNPACK(StreamType&, CODE, uint32);
|
|
|
|
private:
|
|
virtual void StartMicroProgram(uint32);
|
|
|
|
uint32 m_BASE;
|
|
uint32 m_OFST;
|
|
uint32 m_TOP;
|
|
uint32 m_TOPS;
|
|
};
|
|
|
|
#endif
|