mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:18:53 +00:00
Cachable vertex loaders. Not a very big speedup in itself, but makes it easier to speed up vertex loading in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@960 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
681a40dd36
commit
f77624147d
11 changed files with 609 additions and 618 deletions
|
@ -116,7 +116,7 @@ void DllConfig(HWND _hParent)
|
|||
resFound = (resos[b] == strBuffer);
|
||||
b++;
|
||||
}
|
||||
if(!resFound)
|
||||
if (!resFound)
|
||||
//and add the res
|
||||
{
|
||||
resos[i] = strBuffer;
|
||||
|
@ -196,8 +196,11 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize)
|
|||
|
||||
void Video_DoState(unsigned char **ptr, int mode) {
|
||||
|
||||
// Clear all caches
|
||||
// Clear all caches that touch RAM
|
||||
TextureMngr::Invalidate();
|
||||
// DisplayListManager::Invalidate();
|
||||
|
||||
VertexLoaderManager::MarkAllDirty();
|
||||
|
||||
PointerWrap p(ptr, mode);
|
||||
VideoCommon_DoState(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue