openbsd-ports/emulators/desmume/patches/patch-src_OGLRender_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
539 B
Plaintext

$OpenBSD: patch-src_OGLRender_cpp,v 1.1.1.1 2011/09/21 03:58:08 bentley Exp $
--- src/OGLRender.cpp.orig Fri Jul 1 10:17:51 2011
+++ src/OGLRender.cpp Fri Jul 1 10:18:09 2011
@@ -76,7 +76,7 @@ static void ENDGL() {
#include "shaders.h"
#include "texcache.h"
-static ALIGN(16) u8 GPU_screen3D [256*192*4];
+static DMALIGN(16) u8 GPU_screen3D [256*192*4];
static const unsigned short map3d_cull[4] = {GL_FRONT_AND_BACK, GL_FRONT, GL_BACK, 0};
static const int texEnv[4] = { GL_MODULATE, GL_DECAL, GL_MODULATE, GL_MODULATE };