mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Woops, wasn't supposed to be changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@734 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6178eae001
commit
0100d74aa3
@ -62,7 +62,6 @@ extern u32 FAKE_GetFifoStartPtr();
|
|||||||
extern int FAKE_GetRealPtr();
|
extern int FAKE_GetRealPtr();
|
||||||
extern void FAKE_SkipFifo(u32 skip);
|
extern void FAKE_SkipFifo(u32 skip);
|
||||||
|
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
void Xchg(T& a, T&b)
|
void Xchg(T& a, T&b)
|
||||||
{
|
{
|
||||||
@ -83,8 +82,8 @@ void ExecuteDisplayList(u32 address, u32 size)
|
|||||||
#ifdef DATAREADER_INLINE
|
#ifdef DATAREADER_INLINE
|
||||||
u32 old_pVideoData = g_pVideoData;
|
u32 old_pVideoData = g_pVideoData;
|
||||||
|
|
||||||
const u8* startAddress = Memory_GetPtr(address);
|
const u32 startAddress = (u32)Memory_GetPtr(address);
|
||||||
g_pVideoData = *startAddress;
|
g_pVideoData = startAddress;
|
||||||
#endif
|
#endif
|
||||||
// temporarily swap dl and non-dl(small "hack" for the stats)
|
// temporarily swap dl and non-dl(small "hack" for the stats)
|
||||||
Xchg(stats.thisFrame.numDLPrims, stats.thisFrame.numPrims);
|
Xchg(stats.thisFrame.numDLPrims, stats.thisFrame.numPrims);
|
||||||
@ -93,7 +92,7 @@ void ExecuteDisplayList(u32 address, u32 size)
|
|||||||
Xchg(stats.thisFrame.numBPLoadsInDL, stats.thisFrame.numBPLoads);
|
Xchg(stats.thisFrame.numBPLoadsInDL, stats.thisFrame.numBPLoads);
|
||||||
|
|
||||||
#ifdef DATAREADER_INLINE
|
#ifdef DATAREADER_INLINE
|
||||||
while((g_pVideoData - *startAddress) < size)
|
while((g_pVideoData - startAddress) < size)
|
||||||
#else
|
#else
|
||||||
while((memoryReader.GetReadAddress() - address) < size)
|
while((memoryReader.GetReadAddress() - address) < size)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user