Rework XF register loading a bit and change how registers are arranged in memory. This removes the assumption that all data for a viewport or projection matrix will be available when index 0 is loaded. Fixes issue 3688 and probably breaks old save states (sorry).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7083 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
98e24f5873
commit
c36ed08cfc
10 files changed
+414
-379
No files matched your search
@@ -42,13 +42,12 @@ public:
|
||||
// constant management
|
||||
static void SetConstants();
|
||||
|
||||
static void SetViewport(float* _Viewport, int constantIndex = -1);
|
||||
static void SetViewportChanged();
|
||||
static void SetProjection(float* _pProjection, int constantIndex = -1);
|
||||
static void InvalidateXFRange(int start, int end);
|
||||
static void SetTexMatrixChangedA(u32 Value);
|
||||
static void SetTexMatrixChangedB(u32 Value);
|
||||
static void SetMaterialColor(int index, u32 data);
|
||||
static void SetTexMatrixChangedA(u32 value);
|
||||
static void SetTexMatrixChangedB(u32 value);
|
||||
static void SetViewportChanged();
|
||||
static void SetProjectionChanged();
|
||||
static void SetMaterialColorChanged(int index);
|
||||
|
||||
static void TranslateView(float x, float y);
|
||||
static void RotateView(float x, float y);
|
||||
|
||||
Reference in new issue
Block a user