mirror of
https://github.com/dborth/fceugx.git
synced 2024-11-01 06:55:05 +01:00
This commit is contained in:
parent
93af3a3274
commit
cd2a43093b
@ -573,8 +573,12 @@ InitGCVideo ()
|
|||||||
VIDEO_Init();
|
VIDEO_Init();
|
||||||
|
|
||||||
// Allocate the video buffers
|
// Allocate the video buffers
|
||||||
xfb[0] = (u32 *) MEM_K0_TO_K1 (memalign(32, 640*574*2));
|
xfb[0] = (u32 *) memalign(32, 640*574*2);
|
||||||
xfb[1] = (u32 *) MEM_K0_TO_K1 (memalign(32, 640*574*2));
|
xfb[1] = (u32 *) memalign(32, 640*574*2);
|
||||||
|
DCInvalidateRange(xfb[0], 640*574*2);
|
||||||
|
DCInvalidateRange(xfb[1], 640*574*2);
|
||||||
|
xfb[0] = (u32 *) MEM_K0_TO_K1 (xfb[0]);
|
||||||
|
xfb[1] = (u32 *) MEM_K0_TO_K1 (xfb[1]);
|
||||||
|
|
||||||
GXRModeObj *rmode = FindVideoMode();
|
GXRModeObj *rmode = FindVideoMode();
|
||||||
SetupVideoMode(rmode);
|
SetupVideoMode(rmode);
|
||||||
|
Loading…
Reference in New Issue
Block a user