mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Frameskipping more aggressive (minor speedup, plz report any serious problems). Initial display list cache implementation, disabled for now. Various cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3952 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
95b39da7ca
commit
6003c9ecd2
13 changed files with 808 additions and 131 deletions
|
@ -20,17 +20,22 @@
|
|||
|
||||
extern u8* g_pVideoData;
|
||||
|
||||
inline u8 DataPeek8(u32 _uOffset)
|
||||
inline void DataSkip(u32 skip)
|
||||
{
|
||||
g_pVideoData += skip;
|
||||
}
|
||||
|
||||
inline u8 DataPeek8(int _uOffset)
|
||||
{
|
||||
return g_pVideoData[_uOffset];
|
||||
}
|
||||
|
||||
inline u16 DataPeek16(u32 _uOffset)
|
||||
inline u16 DataPeek16(int _uOffset)
|
||||
{
|
||||
return Common::swap16(*(u16*)&g_pVideoData[_uOffset]);
|
||||
}
|
||||
|
||||
inline u32 DataPeek32(u32 _uOffset)
|
||||
inline u32 DataPeek32(int _uOffset)
|
||||
{
|
||||
return Common::swap32(*(u32*)&g_pVideoData[_uOffset]);
|
||||
}
|
||||
|
@ -118,9 +123,4 @@ inline u8* DataGetPosition()
|
|||
return g_pVideoData;
|
||||
}
|
||||
|
||||
inline void DataSkip(u32 skip)
|
||||
{
|
||||
g_pVideoData += skip;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue