mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Clean up cached_arraybases. Update VideoSW to new scheme.
Move ownership of cached_arraybases from CPMemory to VertexLoaderManager to better match it usage.
This commit is contained in:
@ -245,7 +245,6 @@ class VertexLoaderBase;
|
||||
// STATE_TO_SAVE
|
||||
struct CPState final
|
||||
{
|
||||
// Only 12 of these arrays are used.
|
||||
u32 array_bases[16];
|
||||
u32 array_strides[16];
|
||||
TMatrixIndexA matrix_index_a;
|
||||
@ -268,7 +267,6 @@ extern void CopyPreprocessCPStateFromMain();
|
||||
extern CPState g_main_cp_state;
|
||||
extern CPState g_preprocess_cp_state;
|
||||
|
||||
extern u8 *cached_arraybases[16];
|
||||
|
||||
// Might move this into its own file later.
|
||||
void LoadCPReg(u32 SubCmd, u32 Value, bool is_preprocess = false);
|
||||
|
Reference in New Issue
Block a user