From 29cac0258f2d9825c9473c151e0ba1c40a5549f4 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 31 May 2008 19:05:45 +0000 Subject: DS: registers_alt.h is not neede with current libnds; added a FIXME svn-id: r32429 --- backends/platform/ds/arm7/source/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backends/platform/ds/arm7/source/main.cpp') diff --git a/backends/platform/ds/arm7/source/main.cpp b/backends/platform/ds/arm7/source/main.cpp index 0e31204ef7..bee39f1efe 100644 --- a/backends/platform/ds/arm7/source/main.cpp +++ b/backends/platform/ds/arm7/source/main.cpp @@ -36,7 +36,7 @@ #include #include #include -#include +//#include // not needed in current libnds #include ////////////////////////////////////////////////////////////////////// #ifdef USE_DEBUGGER @@ -261,6 +261,9 @@ uint16 powerManagerWrite(uint32 command, u32 data, bool enable) { REG_SPICNT = SPI_ENABLE | SPI_BAUD_1MHz; REG_SPIDATA = enable? (result | data): (result & ~data); SerialWaitBusy(); + + // FIXME: This function should either return something, or have a comment + // explaining why it is valid for it to not return something. :-) } /* -- cgit v1.2.3