From 842b39d1a66c53612a95d977c5b5e83ca5cba566 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 14 Feb 2009 22:24:45 +0000 Subject: [PATCH] fix the RGB ordering of dumped textures --- desmume/src/NDSSystem.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 915f93b29..7702f5b6c 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -788,7 +788,15 @@ int NDS_WriteBMP_32bppBuffer(int width, int height, const void* buf, const char elems_written += fwrite(&imageheader, 1, sizeof(imageheader), file); for(int i=0;i