mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Initial megacommit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
26
Source/Plugins/Plugin_VideoDX9/Src/OpcodeReaders.h
Normal file
26
Source/Plugins/Plugin_VideoDX9/Src/OpcodeReaders.h
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user