mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 05:17:40 -07:00
64-bit build. make library paths not absolute.
This commit is contained in:
parent
0b3d150a71
commit
10ca9b6f7f
@ -1825,7 +1825,7 @@ void Write32(u32 addr, u32 val)
|
||||
{
|
||||
GXStat &= ~0x8000;
|
||||
ProjMatrixStackPointer = 0;
|
||||
PosMatrixStackPointer = 0;
|
||||
//PosMatrixStackPointer = 0;
|
||||
TexMatrixStackPointer = 0;
|
||||
}
|
||||
val &= 0xC0000000;
|
||||
|
4
NDS.cpp
4
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
|
||||
}
|
||||
|
||||
|
18
melonDS.cbp
18
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" />
|
||||
|
Loading…
Reference in New Issue
Block a user