Initial megacommit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-07-12 17:40:22 +00:00
parent a3be5d89ae
commit 775dc8a9c0
1920 changed files with 734652 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#pragma once
#include "../plugin_specs/video.h"
#include "structs.h"
struct ReaderInterface
{
_u8 (*Read8) (void);
_u8 (*Peek8) (void); //to combine primitive draws..
_u16 (*Read16)(void);
_u32 (*Read32)(void);
_u32 (*GetPtr)(void);
};
extern ReaderInterface *reader;
extern ReaderInterface fifoReader,dlistReader,bufReader;
namespace OpcodeReaders
{
void SetDListReader(_u32 _ptr, _u32 _end);
void DListReaderSkip(int _skip);
void SetMemPtr(_u8 *_mptr);
void SetFifoData(FifoData *_fdata);
bool IsDListOKToRead();
void SetBufPtr(_u8 *_bufptr);
}