···33# $Id$
44#
55# $Log$
66-# Revision 1.1 2006/03/28 15:44:01 dave
66+# Revision 1.2 2006/03/29 21:16:45 kkurbjun
77+# Use rockbox endian defines
88+#
99+# Revision 1.1 2006-03-28 15:44:01 dave
710# Patch #2969 - Doom! Currently only working on the H300.
811#
912#
···2124ifneq (,$(strip $(foreach tgt,IPOD_NANO IPOD_COLOR IPOD_VIDEO,$(findstring $(tgt),$(TARGET)))))
2225ifndef SIMVER
2326 CFLAGS += -mstructure-size-boundary=8
2424-endif
2525-else
2626-ifndef SIMVER
2727- CFLAGS += -D__BIG_ENDIAN__
2827endif
2928endif
3029
+3-1
apps/plugins/doom/m_swap.h
···3737#pragma interface
3838#endif
39394040+#include "plugin.h"
4141+4042/* Endianess handling. */
41434244/* cph - First the macros to do the actual byte swapping */
···7072 * Use separate macros so network could be converted to big-endian later.
7173 */
72747373-#ifdef __BIG_ENDIAN__
7575+#ifndef ROCKBOX_LITTLE_ENDIAN
74767577#define doom_wtohl(x) doom_swap_l(x)
7678#define doom_htowl(x) doom_swap_l(x)