From 09090e93f9b5281f48b927a6e95f01edd3e88b82 Mon Sep 17 00:00:00 2001 From: rogerman Date: Sat, 6 Jul 2024 13:58:05 -0700 Subject: [PATCH] GFX3D: Change POLYLIST_SIZE to 16384 to ensure proper memory alignment with buffers based on CLIPPED_POLYLIST_SIZE and VERTLIST_SIZE. --- desmume/src/gfx3d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/gfx3d.h b/desmume/src/gfx3d.h index 3328a44ce..ed993a252 100644 --- a/desmume/src/gfx3d.h +++ b/desmume/src/gfx3d.h @@ -1,6 +1,6 @@ /* Copyright (C) 2006 yopyop - Copyright (C) 2008-2023 DeSmuME team + Copyright (C) 2008-2024 DeSmuME team This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -561,7 +561,7 @@ bool GFX3D_IsPolyWireframe(const POLY &p); bool GFX3D_IsPolyOpaque(const POLY &p); bool GFX3D_IsPolyTranslucent(const POLY &p); -#define POLYLIST_SIZE 16383 +#define POLYLIST_SIZE 16384 #define CLIPPED_POLYLIST_SIZE (POLYLIST_SIZE * 2) #define VERTLIST_SIZE (POLYLIST_SIZE * 4)