openbsd-ports/emulators/desmume/patches/patch-src_gfx3d_cpp
bentley c80916cd1f Import emulators/desmume.
DeSmuME is a Nintendo DS emulator.

It supports many homebrew NDS rom demos as well as a handful of wireless
multiboot demo NDS roms. It also runs DSLinux, the port of Linux to the
Nintendo DS.

ok landry@ sthen@
2011-09-21 03:58:08 +00:00

13 lines
436 B
Plaintext

$OpenBSD: patch-src_gfx3d_cpp,v 1.1.1.1 2011/09/21 03:58:08 bentley Exp $
--- src/gfx3d.cpp.orig Fri Jul 1 10:17:51 2011
+++ src/gfx3d.cpp Fri Jul 1 10:18:05 2011
@@ -606,7 +606,7 @@ static void SetVertex()
s16coord[2]
};
- ALIGN(16) s32 coordTransformed[4] = { coord[0], coord[1], coord[2], (1<<12) };
+ DMALIGN(16) s32 coordTransformed[4] = { coord[0], coord[1], coord[2], (1<<12) };
if (texCoordinateTransform == 3)
{