mirror of https://github.com/PCSX2/pcsx2.git
Increased the MTGS ringbuffer from 2 to 8mb. Fixes slowness in games with lots of data moving.
(Xenosaga series for example) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@872 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
94f54027f7
commit
a0e6c8c260
|
@ -146,8 +146,9 @@ class mtgsThreadObject : public Threading::Thread
|
|||
protected:
|
||||
// Size of the ringbuffer as a power of 2 -- size is a multiple of simd128s.
|
||||
// (actual size is 1<<m_RingBufferSizeFactor simd vectors [128-bit values])
|
||||
// A value of 17 is a 4meg ring buffer. 16 would be 2 megs, and 18 would be 8 megs.
|
||||
static const uint m_RingBufferSizeFactor = 17;
|
||||
// A value of 19 is a 8meg ring buffer. 18 would be 4 megs, and 20 would be 16 megs.
|
||||
// Default was 2mb, but some games with lots of MTGS activity want 8mb to run fast (rama)
|
||||
static const uint m_RingBufferSizeFactor = 19;
|
||||
|
||||
// size of the ringbuffer in simd128's.
|
||||
static const uint m_RingBufferSize = 1<<m_RingBufferSizeFactor;
|
||||
|
|
Loading…
Reference in New Issue