I am trying to compile a NDS source folder, but make keeps giving me this error:
Code: Select all
C:\devkitPro\nsmb-editor-ds-master>make
File not found - *.nds
make: *** [Makefile:10: all] Error 2
Thanks.
Code: Select all
C:\devkitPro\nsmb-editor-ds-master>make
File not found - *.nds
make: *** [Makefile:10: all] Error 2
Code: Select all
diff --git a/source/editor.cpp b/source/editor.cpp
index 43ee07a..54cbd3a 100644
--- a/source/editor.cpp
+++ b/source/editor.cpp
@@ -153,7 +153,7 @@ void LevelEditor::doSelection(uint x, uint y)
}
}
-void LevelEditor::touchDown(uint x, uint y)
+void LevelEditor::touchDown(u32 x, u32 y)
{
tx = x+levelx;
ty = y+levely;
@@ -250,7 +250,7 @@ void cloneSelected(list<T>& lst)
}
}
-void LevelEditor::touchMoved(uint x, uint y)
+void LevelEditor::touchMoved(u32 x, u32 y)
{
tx = x+levelx;
diff --git a/source/text.cpp b/source/text.cpp
index 48d9306..5d60969 100644
--- a/source/text.cpp
+++ b/source/text.cpp
@@ -20,7 +20,7 @@
#include "font.h"
#include "rom.h"
-void renderText(int x, int y, uint max, int col, string& s)
+void renderText(int x, int y, u32 max, int col, string& s)
{
uint16* bg0ptr= (uint16*)0x0601E000;
x %= 32;
@@ -35,7 +35,7 @@ void renderText(int x, int y, uint max, int col, string& s)
bg0ptr++;
}
}
-void renderText(int x, int y, uint max, int col, const char* s)
+void renderText(int x, int y, u32 max, int col, const char* s)
{
uint16* bg0ptr= (uint16*)0x0601E000;
x %= 32;
Users browsing this forum: No registered users and 0 guests