dolphin/Source/Core/VideoCommon
Scott Mansell 6d916762fb Fix invalid pointer errors in Burnout 2.
Yet another story of games loading weird shit into registers.

For some reason, Burnout 2 would (in rare situations) load invalid
addresses into cp_state.array_bases. What would the real hardware
do in this situation? Who knows, Burnout 2 doesn't actually enable
the vertex array with the invalid address so nothing kinky happens.

But dolphin tries to optimise things and starts using the address
as soon as it is loaded into memory. This causes GetPointer (which is
now much more vocal) to throw an error.

The Fix:  We don't call GetPointer until we are sure the vertex array
has been enabled.
2015-05-29 18:51:17 +12:00
..
AVIDump.cpp Merge pull request #2382 from RisingFog/vfwfix 2015-05-25 23:46:22 -04:00
AVIDump.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
AsyncRequests.cpp Merge pull request #2357 from degasus/ogl_efb_poke_merge 2015-05-25 23:26:39 -04:00
AsyncRequests.h Merge pull request #2357 from degasus/ogl_efb_poke_merge 2015-05-25 23:26:39 -04:00
BPFunctions.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BPFunctions.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BPMemory.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BPMemory.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BPStructs.cpp Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
BPStructs.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BoundingBox.cpp Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
BoundingBox.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
CMakeLists.txt VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
CPMemory.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CPMemory.h Fix invalid pointer errors in Burnout 2. 2015-05-29 18:51:17 +12:00
CommandProcessor.cpp CommandProcessor: Replace volatile usages with atomics 2015-05-27 03:53:29 -04:00
CommandProcessor.h CommandProcessor: Replace volatile usages with atomics 2015-05-27 03:53:29 -04:00
ConstantManager.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
DataReader.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Debugger.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Debugger.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DriverDetails.cpp Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
DriverDetails.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
FPSCounter.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
FPSCounter.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Fifo.cpp CommandProcessor: Replace volatile usages with atomics 2015-05-27 03:53:29 -04:00
Fifo.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
FramebufferManagerBase.cpp Add missing license headers 2015-05-25 13:11:47 +02:00
FramebufferManagerBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
GeometryShaderGen.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GeometryShaderGen.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GeometryShaderManager.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GeometryShaderManager.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
HiresTextures.cpp Merge pull request #2162 from degasus/prefetch_tex 2015-05-26 13:30:26 +02:00
HiresTextures.h Merge pull request #2162 from degasus/prefetch_tex 2015-05-26 13:30:26 +02:00
ImageWrite.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
ImageWrite.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
IndexGenerator.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
IndexGenerator.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
LightingShaderGen.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
LookUpTables.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
MainBase.cpp Fix invalid pointer errors in Burnout 2. 2015-05-29 18:51:17 +12:00
MainBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
NativeVertexFormat.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OnScreenDisplay.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OnScreenDisplay.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OpcodeDecoding.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OpcodeDecoding.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PerfQueryBase.cpp Add missing license headers 2015-05-25 13:11:47 +02:00
PerfQueryBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
PixelEngine.cpp CommandProcessor: Replace volatile usages with atomics 2015-05-27 03:53:29 -04:00
PixelEngine.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PixelShaderGen.cpp D3D: Depth range inversion. 2015-05-26 15:31:31 +02:00
PixelShaderGen.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PixelShaderManager.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PixelShaderManager.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PostProcessing.cpp Pass strings by const reference where possible 2015-05-28 20:54:55 -04:00
PostProcessing.h Pass strings by const reference where possible 2015-05-28 20:54:55 -04:00
RenderBase.cpp Merge pull request #2357 from degasus/ogl_efb_poke_merge 2015-05-25 23:26:39 -04:00
RenderBase.h Thread: Remove unused Barrier class 2015-05-26 19:25:59 -04:00
ShaderGenCommon.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Statistics.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Statistics.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureCacheBase.cpp Merge pull request #2162 from degasus/prefetch_tex 2015-05-26 13:30:26 +02:00
TextureCacheBase.h Merge pull request #2162 from degasus/prefetch_tex 2015-05-26 13:30:26 +02:00
TextureConversionShader.cpp D3D: Depth range inversion. 2015-05-26 15:31:31 +02:00
TextureConversionShader.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder_Common.cpp Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
TextureDecoder_Generic.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder_x64.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader.cpp Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoader.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderARM64.cpp Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderARM64.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderBase.cpp Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderBase.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderManager.cpp Fix invalid pointer errors in Burnout 2. 2015-05-29 18:51:17 +12:00
VertexLoaderManager.h Fix invalid pointer errors in Burnout 2. 2015-05-29 18:51:17 +12:00
VertexLoaderUtils.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoaderX64.cpp Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderX64.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoader_Color.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_Color.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_Normal.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_Normal.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_Position.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_Position.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_TextCoord.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_TextCoord.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexManagerBase.cpp Add missing license headers 2015-05-25 13:11:47 +02:00
VertexManagerBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
VertexShaderGen.cpp D3D: Depth range inversion. 2015-05-26 15:31:31 +02:00
VertexShaderGen.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexShaderManager.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexShaderManager.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VideoBackendBase.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VideoBackendBase.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VideoCommon.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VideoCommon.vcxproj VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
VideoCommon.vcxproj.filters VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
VideoConfig.cpp Merge pull request #2162 from degasus/prefetch_tex 2015-05-26 13:30:26 +02:00
VideoConfig.h Merge pull request #2162 from degasus/prefetch_tex 2015-05-26 13:30:26 +02:00
VideoState.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VideoState.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
XFMemory.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
XFMemory.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
XFStructs.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
XFStructs.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
sfont.inc Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00