mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
DataReader migration to faster one: first step.
TODO: doing it for DX9, move DataReader to VideoCommon, remove dirty debug #def if ok git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@729 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -23,6 +23,18 @@
|
||||
#include "Common.h"
|
||||
#include "ChunkFile.h"
|
||||
|
||||
// TODO (mb2) clean this if ok
|
||||
#define DATAREADER_INLINE // uncomment to use the previous IDataReader way
|
||||
//#define DATAREADER_DEBUG // simple compare with the previous IDataReader way
|
||||
|
||||
#if defined(DATAREADER_DEBUG) && !defined(DATAREADER_INLINE)
|
||||
#define DATAREADER_INLINE
|
||||
#endif
|
||||
|
||||
|
||||
#define FIFO_SIZE (1024*1024)
|
||||
|
||||
#ifndef DATAREADER_INLINE
|
||||
// inline for speed!
|
||||
class FifoReader
|
||||
{
|
||||
@ -54,6 +66,7 @@ public:
|
||||
|
||||
extern FifoReader fifo;
|
||||
|
||||
#endif
|
||||
void Fifo_Init();
|
||||
void Fifo_Shutdown();
|
||||
void Fifo_EnterLoop(const SVideoInitialize &video_initialize);
|
||||
|
Reference in New Issue
Block a user