From 4d6d662d0297e96d88ff41aa3037dcb8913c8137 Mon Sep 17 00:00:00 2001 From: dborth Date: Fri, 7 Nov 2008 16:49:25 +0000 Subject: [PATCH] fix DCFlushRange for square --- source/ngc/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ngc/video.cpp b/source/ngc/video.cpp index ebef9ba..ad28ebd 100644 --- a/source/ngc/video.cpp +++ b/source/ngc/video.cpp @@ -378,7 +378,7 @@ void UpdateScaling() square[3] = square[6] = xscale; square[1] = square[4] = yscale; square[7] = square[10] = -yscale; - DCFlushRange (square, sizeof(square)); // update memory BEFORE the GPU accesses it! + DCFlushRange (square, 32); // update memory BEFORE the GPU accesses it! draw_init ();