diff options
| author | Neil Millstone | 2007-04-06 18:34:53 +0000 |
|---|---|---|
| committer | Neil Millstone | 2007-04-06 18:34:53 +0000 |
| commit | c6d41c07558eb74a18e88b3fc68c5ec76bb3f9fe (patch) | |
| tree | d53d35422e0d3d700a48d4f1bca587eb1b7af79d /backends/platform/ds/arm7 | |
| parent | 40245fe4504ecc7cb26ccfc5b5c7d5d2b15cbbe7 (diff) | |
| download | scummvm-rg350-c6d41c07558eb74a18e88b3fc68c5ec76bb3f9fe.tar.gz scummvm-rg350-c6d41c07558eb74a18e88b3fc68c5ec76bb3f9fe.tar.bz2 scummvm-rg350-c6d41c07558eb74a18e88b3fc68c5ec76bb3f9fe.zip | |
Updating DS port for changes in main codebase. Code changes for DevkitArm r20 and latest libnds.
svn-id: r26394
Diffstat (limited to 'backends/platform/ds/arm7')
| -rw-r--r-- | backends/platform/ds/arm7/Makefile | 2 | ||||
| -rw-r--r-- | backends/platform/ds/arm7/source/main.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/backends/platform/ds/arm7/Makefile b/backends/platform/ds/arm7/Makefile index 5c62d7df58..847b6eea5a 100644 --- a/backends/platform/ds/arm7/Makefile +++ b/backends/platform/ds/arm7/Makefile @@ -68,7 +68,7 @@ endif # list of directories containing libraries, this must be the top level containing # include and lib #--------------------------------------------------------------------------------- -LIBDIRS := $(DEVKITPRO)/libnds $(DEVKITPRO)/libnds/nds +LIBDIRS := /home/neil/devkitpro/libnds home/neil/devkitpro/libnds/nds #--------------------------------------------------------------------------------- diff --git a/backends/platform/ds/arm7/source/main.cpp b/backends/platform/ds/arm7/source/main.cpp index d36b038e05..e3ecd30fe4 100644 --- a/backends/platform/ds/arm7/source/main.cpp +++ b/backends/platform/ds/arm7/source/main.cpp @@ -25,7 +25,7 @@ // -- modified by Darkain and others ////////////////////////////////////////////////////////////////////// -#define USE_LIBCARTRESET +//#define USE_LIBCARTRESET #include <nds.h> @@ -424,7 +424,6 @@ void InterruptTimer3() { uint32 temp=0; uint8 ct[sizeof(IPC->curtime)]; static int heartbeat = 0; - // Update the heartbeat heartbeat++; @@ -512,8 +511,7 @@ void InterruptTimer3() { #ifdef USE_DEBUGGER Wifi_Update(); // update wireless in vblank #endif - } - +} ////////////////////////////////////////////////////////////////////// @@ -571,6 +569,7 @@ void reboot() { int main(int argc, char ** argv) { + #ifdef USE_DEBUGGER REG_IPC_FIFO_CR = IPC_FIFO_ENABLE | IPC_FIFO_SEND_CLEAR; @@ -639,6 +638,7 @@ int main(int argc, char ** argv) { if (IPC->reset) { powerOff(); } + swiWaitForVBlank(); } return 0; |
