aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-03-16 19:47:31 +0100
committerStapleButter <thetotalworm@gmail.com>2017-03-16 19:47:31 +0100
commit10ca9b6f7f20f88dfcdfdf680daf1b04cb7f22c5 (patch)
treef9597f0f1c0f00ac27957409c0ea0f2dcbc9d08e
parent0b3d150a71ea0c17f43aadadbde1d78b26b36c28 (diff)
64-bit build. make library paths not absolute.
-rw-r--r--GPU3D.cpp2
-rw-r--r--NDS.cpp4
-rw-r--r--melonDS.cbp18
3 files changed, 16 insertions, 8 deletions
diff --git a/GPU3D.cpp b/GPU3D.cpp
index 364683e..8758ce8 100644
--- a/GPU3D.cpp
+++ b/GPU3D.cpp
@@ -1825,7 +1825,7 @@ void Write32(u32 addr, u32 val)
{
GXStat &= ~0x8000;
ProjMatrixStackPointer = 0;
- PosMatrixStackPointer = 0;
+ //PosMatrixStackPointer = 0;
TexMatrixStackPointer = 0;
}
val &= 0xC0000000;
diff --git a/NDS.cpp b/NDS.cpp
index aa23d53..06e85f6 100644
--- a/NDS.cpp
+++ b/NDS.cpp
@@ -311,8 +311,8 @@ void Reset()
// test
//LoadROM();
//LoadFirmware();
- // a_interp2.nds a_rounding (10) (11)
- if (NDSCart::LoadROM("rom/nsmb.nds"))
+ // a_interp2.nds a_rounding (10) (11) a_slope (5)
+ if (NDSCart::LoadROM("rom/sm64ds.nds"))
Running = true; // hax
}
diff --git a/melonDS.cbp b/melonDS.cbp
index 90764d9..4b99438 100644
--- a/melonDS.cbp
+++ b/melonDS.cbp
@@ -4,38 +4,46 @@
<Project>
<Option title="melonDS" />
<Option pch_mode="2" />
- <Option compiler="gcc" />
+ <Option compiler="mingw64_gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/melonDS" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
- <Option compiler="gcc" />
+ <Option compiler="mingw64_gcc" />
<Compiler>
+ <Add option="-m64" />
<Add option="-g" />
</Compiler>
<Linker>
- <Add library="C:/MinGW/lib/libgdi32.a" />
+ <Add option="-m64" />
+ <Add library="gdi32" />
</Linker>
</Target>
<Target title="Release">
<Option output="bin/Release/melonDS" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
- <Option compiler="gcc" />
+ <Option compiler="mingw64_gcc" />
<Compiler>
<Add option="-O2" />
+ <Add option="-m64" />
</Compiler>
<Linker>
<Add option="-s" />
- <Add library="C:/MinGW/lib/libgdi32.a" />
+ <Add option="-m64" />
+ <Add library="gdi32" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
+ <Add option="-m64" />
<Add option="-fexceptions" />
</Compiler>
+ <Linker>
+ <Add option="-m64" />
+ </Linker>
<Unit filename="ARM.cpp" />
<Unit filename="ARM.h" />
<Unit filename="ARMInterpreter.cpp" />