[ 2394336 ] - desmume does not compile with dev-cpp

fixed: dev-cpp support is removed since there is nobody around to support it.
This commit is contained in:
zeromus 2008-12-25 23:08:50 +00:00
parent bfb928f20c
commit 5ee96233be
9 changed files with 108 additions and 4279 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,63 +0,0 @@
# Project: desmume
# Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = ../main.o ../../arm_instructions.o ../../bios.o ../../cp15.o ../../Disassembler.o ../../GPU.o ../../MMU.o ../../NDSSystem.o ../../thumb_instructions.o ../../armcpu.o ../../debug.o ../../FIFO.o $(RES)
LINKOBJ = ../main.o ../../arm_instructions.o ../../bios.o ../../cp15.o ../../Disassembler.o ../../GPU.o ../../MMU.o ../../NDSSystem.o ../../thumb_instructions.o ../../armcpu.o ../../debug.o ../../FIFO.o $(RES)
LIBS = -L"lib" -mwindows -limm32 -lshell32 -lole32 -luuid -lintl -lpangowin32-1.0.dll -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lgdk-win32-2.0.dll -lglib-2.0.dll -lgmodule-2.0.dll -lgobject-2.0.dll -lgthread-2.0.dll -lgtk-win32-2.0.dll -lpango-1.0.dll libpthreadGC2.a libSDL.a
INCS = -I"include"
CXXINCS = -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include"
BIN = desmume.exe
CXXFLAGS = $(CXXINCS) -I"C:\Dev-Cpp\\include\gtk-2.0" -I"C:\Dev-Cpp\\lib\gtk-2.0\include" -I"C:\Dev-Cpp\\include\atk-1.0" -I"C:\Dev-Cpp\\include\pango-1.0" -I"C:\Dev-Cpp\\include\glib-2.0" -I"C:\Dev-Cpp\\include\glib-2.0\glib" -I"C:\Dev-Cpp\\lib\glib-2.0" -I"C:\Dev-Cpp\\lib\glib-2.0\include" -mno-cygwin -mms-bitfields -mconsole
CFLAGS = $(INCS) -I"C:\Dev-Cpp\\include\gtk-2.0" -I"C:\Dev-Cpp\\lib\gtk-2.0\include" -I"C:\Dev-Cpp\\include\atk-1.0" -I"C:\Dev-Cpp\\include\pango-1.0" -I"C:\Dev-Cpp\\include\glib-2.0" -I"C:\Dev-Cpp\\include\glib-2.0\glib" -I"C:\Dev-Cpp\\lib\glib-2.0" -I"C:\Dev-Cpp\\lib\glib-2.0\include" -mno-cygwin -mms-bitfields
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before desmume.exe all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "desmume.exe" $(LIBS)
../main.o: ../main.cpp
$(CPP) -c ../main.cpp -o ../main.o $(CXXFLAGS)
../../arm_instructions.o: ../../arm_instructions.cpp
$(CPP) -c ../../arm_instructions.cpp -o ../../arm_instructions.o $(CXXFLAGS)
../../bios.o: ../../bios.cpp
$(CPP) -c ../../bios.cpp -o ../../bios.o $(CXXFLAGS)
../../cp15.o: ../../cp15.cpp
$(CPP) -c ../../cp15.cpp -o ../../cp15.o $(CXXFLAGS)
../../Disassembler.o: ../../Disassembler.cpp
$(CPP) -c ../../Disassembler.cpp -o ../../Disassembler.o $(CXXFLAGS)
../../GPU.o: ../../GPU.cpp
$(CPP) -c ../../GPU.cpp -o ../../GPU.o $(CXXFLAGS)
../../MMU.o: ../../MMU.cpp
$(CPP) -c ../../MMU.cpp -o ../../MMU.o $(CXXFLAGS)
../../NDSSystem.o: ../../NDSSystem.cpp
$(CPP) -c ../../NDSSystem.cpp -o ../../NDSSystem.o $(CXXFLAGS)
../../thumb_instructions.o: ../../thumb_instructions.cpp
$(CPP) -c ../../thumb_instructions.cpp -o ../../thumb_instructions.o $(CXXFLAGS)
../../armcpu.o: ../../armcpu.cpp
$(CPP) -c ../../armcpu.cpp -o ../../armcpu.o $(CXXFLAGS)
../../debug.o: ../../debug.c
$(CPP) -c ../../debug.c -o ../../debug.o $(CXXFLAGS)
../../FIFO.o: ../../FIFO.cpp
$(CPP) -c ../../FIFO.cpp -o ../../FIFO.o $(CXXFLAGS)

View File

@ -1,309 +0,0 @@
[Project]
FileName=desmume.dev
Name=desmume
UnitCount=26
Type=0
Ver=1
ObjFiles=
Includes=
Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Compiler=-I"<INCLUDE>\gtk-2.0" -I"<LIB>\gtk-2.0\include" -I"<INCLUDE>\atk-1.0" -I"<INCLUDE>\pango-1.0" -I"<INCLUDE>\glib-2.0" -I"<INCLUDE>\glib-2.0\glib" -I"<LIB>\glib-2.0" -I"<LIB>\glib-2.0\include" -mno-cygwin -mms-bitfields_@@_
CppCompiler=-I"<INCLUDE>\gtk-2.0" -I"<LIB>\gtk-2.0\include" -I"<INCLUDE>\atk-1.0" -I"<INCLUDE>\pango-1.0" -I"<INCLUDE>\glib-2.0" -I"<INCLUDE>\glib-2.0\glib" -I"<LIB>\glib-2.0" -I"<LIB>\glib-2.0\include" -mno-cygwin -mms-bitfields -mconsole_@@_
Linker=-limm32 -lshell32 -lole32 -luuid -lintl -lpangowin32-1.0.dll -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lgdk-win32-2.0.dll -lglib-2.0.dll -lgmodule-2.0.dll -lgobject-2.0.dll -lgthread-2.0.dll -lgtk-win32-2.0.dll -lpango-1.0.dll_@@_libpthreadGC2.a_@@_libSDL.a_@@_
IsCpp=1
Icon=
ExeOutput=
ObjectOutput=
OverrideOutput=0
OverrideOutputName=desmume.exe
HostApplication=
Folders=
CommandLine=
UseCustomMakefile=0
CustomMakefile=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=0
CompilerSettings=0000000000000000000000
[Unit1]
FileName=..\main.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit2]
FileName=..\..\types.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit3]
FileName=..\..\arm_instructions.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit4]
FileName=..\..\arm_instructions.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit7]
FileName=..\..\bios.hpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit8]
FileName=..\..\config.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit9]
FileName=..\..\cp15.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit10]
FileName=..\..\cp15.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit11]
FileName=..\..\Disassembler.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit12]
FileName=..\..\Disassembler.hpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit13]
FileName=..\..\FIFO.hpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit14]
FileName=..\..\GPU.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit15]
FileName=..\..\GPU.hpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit16]
FileName=..\..\MMU.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit17]
FileName=..\..\MMU.hpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit18]
FileName=..\..\NDSSystem.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit19]
FileName=..\..\NDSSystem.hpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit20]
FileName=..\..\thumb_instructions.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit21]
FileName=..\..\thumb_instructions.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit22]
FileName=pthread.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit23]
FileName=..\..\armcpu.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit24]
FileName=..\..\debug.c
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit25]
FileName=..\..\debug.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit26]
FileName=..\..\FIFO.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[VersionInfo]
Major=0
Minor=1
Release=1
Build=1
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=
FileDescription=Developed using the Dev-C++ IDE
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=
AutoIncBuildNr=0
[Unit6]
FileName=..\..\bios.cpp
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit5]
FileName=..\..\armcpu.h
CompileCpp=1
Folder=desmume
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

View File

@ -1,113 +0,0 @@
[Editor_4]
CursorCol=1
CursorRow=78
TopLine=169
LeftChar=1
Open=0
Top=0
[Editors]
Focused=-1
Order=-1
[Editor_0]
Open=0
Top=0
CursorCol=1
CursorRow=878
TopLine=867
LeftChar=1
[Editor_1]
Open=0
Top=0
[Editor_2]
Open=0
Top=0
CursorCol=15
CursorRow=3626
TopLine=3605
LeftChar=1
[Editor_3]
Open=0
Top=0
[Editor_5]
Open=0
Top=0
[Editor_6]
Open=0
Top=0
[Editor_7]
Open=0
Top=0
[Editor_8]
Open=0
Top=0
[Editor_9]
Open=0
Top=0
[Editor_10]
Open=0
Top=0
CursorCol=8
CursorRow=3315
TopLine=3305
LeftChar=1
[Editor_11]
Open=0
Top=0
[Editor_12]
Open=0
Top=0
[Editor_13]
Open=0
Top=0
CursorCol=29
CursorRow=1063
TopLine=1043
LeftChar=1
[Editor_14]
Open=0
Top=0
CursorCol=1
CursorRow=1
TopLine=1
LeftChar=1
[Editor_15]
Open=0
Top=0
[Editor_16]
Open=0
Top=0
[Editor_17]
Open=0
Top=0
[Editor_18]
Open=0
Top=0
[Editor_19]
Open=0
Top=0
[Editor_20]
Open=0
Top=0
[Editor_21]
Open=0
Top=0
CursorCol=47
CursorRow=242
TopLine=191
LeftChar=1
[Editor_22]
Open=0
Top=0
CursorCol=10
CursorRow=487
TopLine=474
LeftChar=1
[Editor_23]
Open=0
Top=0
[Editor_24]
Open=0
Top=0
[Editor_25]
Open=0
Top=0

File diff suppressed because it is too large Load Diff

View File

@ -1,178 +0,0 @@
/*
* Module: sched.h
*
* Purpose:
* Provides an implementation of POSIX realtime extensions
* as defined in
*
* POSIX 1003.1b-1993 (POSIX.1b)
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1999,2005 Pthreads-win32 contributors
*
* Contact Email: rpj@callisto.canberra.edu.au
*
* The current list of contributors is contained
* in the file CONTRIBUTORS included with the source
* code distribution. The list can also be seen at the
* following World Wide Web location:
* http://sources.redhat.com/pthreads-win32/contributors.html
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library in the file COPYING.LIB;
* if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifndef _SCHED_H
#define _SCHED_H
#undef PTW32_LEVEL
#if defined(_POSIX_SOURCE)
#define PTW32_LEVEL 0
/* Early POSIX */
#endif
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309
#undef PTW32_LEVEL
#define PTW32_LEVEL 1
/* Include 1b, 1c and 1d */
#endif
#if defined(INCLUDE_NP)
#undef PTW32_LEVEL
#define PTW32_LEVEL 2
/* Include Non-Portable extensions */
#endif
#define PTW32_LEVEL_MAX 3
#if !defined(PTW32_LEVEL)
#define PTW32_LEVEL PTW32_LEVEL_MAX
/* Include everything */
#endif
#if __GNUC__ && ! defined (__declspec)
# error Please upgrade your GNU compiler to one that supports __declspec.
#endif
/*
* When building the DLL code, you should define PTW32_BUILD so that
* the variables/functions are exported correctly. When using the DLL,
* do NOT define PTW32_BUILD, and then the variables/functions will
* be imported correctly.
*/
#ifndef PTW32_STATIC_LIB
# ifdef PTW32_BUILD
# define PTW32_DLLPORT __declspec (dllexport)
# else
# define PTW32_DLLPORT __declspec (dllimport)
# endif
#else
# define PTW32_DLLPORT
#endif
/*
* This is a duplicate of what is in the autoconf config.h,
* which is only used when building the pthread-win32 libraries.
*/
#ifndef PTW32_CONFIG_H
# if defined(WINCE)
# define NEED_ERRNO
# define NEED_SEM
# endif
# if defined(_UWIN) || defined(__MINGW32__)
# define HAVE_MODE_T
# endif
#endif
/*
*
*/
#if PTW32_LEVEL >= PTW32_LEVEL_MAX
#ifdef NEED_ERRNO
#include "need_errno.h"
#else
#include <errno.h>
#endif
#endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */
#if defined(__MINGW32__) || defined(_UWIN)
#if PTW32_LEVEL >= PTW32_LEVEL_MAX
/* For pid_t */
# include <sys/types.h>
/* Required by Unix 98 */
# include <time.h>
#endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */
#else
typedef int pid_t;
#endif
/* Thread scheduling policies */
enum {
SCHED_OTHER = 0,
SCHED_FIFO,
SCHED_RR,
SCHED_MIN = SCHED_OTHER,
SCHED_MAX = SCHED_RR
};
struct sched_param {
int sched_priority;
};
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
PTW32_DLLPORT int __cdecl sched_yield (void);
PTW32_DLLPORT int __cdecl sched_get_priority_min (int policy);
PTW32_DLLPORT int __cdecl sched_get_priority_max (int policy);
PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int policy);
PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid);
/*
* Note that this macro returns ENOTSUP rather than
* ENOSYS as might be expected. However, returning ENOSYS
* should mean that sched_get_priority_{min,max} are
* not implemented as well as sched_rr_get_interval.
* This is not the case, since we just don't support
* round-robin scheduling. Therefore I have chosen to
* return the same value as sched_setscheduler when
* SCHED_RR is passed to it.
*/
#define sched_rr_get_interval(_pid, _interval) \
( errno = ENOTSUP, (int) -1 )
#ifdef __cplusplus
} /* End of extern "C" */
#endif /* __cplusplus */
#undef PTW32_LEVEL
#undef PTW32_LEVEL_MAX
#endif /* !_SCHED_H */

View File

@ -1,166 +0,0 @@
/*
* Module: semaphore.h
*
* Purpose:
* Semaphores aren't actually part of the PThreads standard.
* They are defined by the POSIX Standard:
*
* POSIX 1003.1b-1993 (POSIX.1b)
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1999,2005 Pthreads-win32 contributors
*
* Contact Email: rpj@callisto.canberra.edu.au
*
* The current list of contributors is contained
* in the file CONTRIBUTORS included with the source
* code distribution. The list can also be seen at the
* following World Wide Web location:
* http://sources.redhat.com/pthreads-win32/contributors.html
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library in the file COPYING.LIB;
* if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined( SEMAPHORE_H )
#define SEMAPHORE_H
#undef PTW32_LEVEL
#if defined(_POSIX_SOURCE)
#define PTW32_LEVEL 0
/* Early POSIX */
#endif
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309
#undef PTW32_LEVEL
#define PTW32_LEVEL 1
/* Include 1b, 1c and 1d */
#endif
#if defined(INCLUDE_NP)
#undef PTW32_LEVEL
#define PTW32_LEVEL 2
/* Include Non-Portable extensions */
#endif
#define PTW32_LEVEL_MAX 3
#if !defined(PTW32_LEVEL)
#define PTW32_LEVEL PTW32_LEVEL_MAX
/* Include everything */
#endif
#if __GNUC__ && ! defined (__declspec)
# error Please upgrade your GNU compiler to one that supports __declspec.
#endif
/*
* When building the DLL code, you should define PTW32_BUILD so that
* the variables/functions are exported correctly. When using the DLL,
* do NOT define PTW32_BUILD, and then the variables/functions will
* be imported correctly.
*/
#ifndef PTW32_STATIC_LIB
# ifdef PTW32_BUILD
# define PTW32_DLLPORT __declspec (dllexport)
# else
# define PTW32_DLLPORT __declspec (dllimport)
# endif
#else
# define PTW32_DLLPORT
#endif
/*
* This is a duplicate of what is in the autoconf config.h,
* which is only used when building the pthread-win32 libraries.
*/
#ifndef PTW32_CONFIG_H
# if defined(WINCE)
# define NEED_ERRNO
# define NEED_SEM
# endif
# if defined(_UWIN) || defined(__MINGW32__)
# define HAVE_MODE_T
# endif
#endif
/*
*
*/
#if PTW32_LEVEL >= PTW32_LEVEL_MAX
#ifdef NEED_ERRNO
#include "need_errno.h"
#else
#include <errno.h>
#endif
#endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */
#define _POSIX_SEMAPHORES
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
#ifndef HAVE_MODE_T
typedef unsigned int mode_t;
#endif
typedef struct sem_t_ * sem_t;
PTW32_DLLPORT int __cdecl sem_init (sem_t * sem,
int pshared,
unsigned int value);
PTW32_DLLPORT int __cdecl sem_destroy (sem_t * sem);
PTW32_DLLPORT int __cdecl sem_trywait (sem_t * sem);
PTW32_DLLPORT int __cdecl sem_wait (sem_t * sem);
PTW32_DLLPORT int __cdecl sem_timedwait (sem_t * sem,
const struct timespec * abstime);
PTW32_DLLPORT int __cdecl sem_post (sem_t * sem);
PTW32_DLLPORT int __cdecl sem_post_multiple (sem_t * sem,
int count);
PTW32_DLLPORT int __cdecl sem_open (const char * name,
int oflag,
mode_t mode,
unsigned int value);
PTW32_DLLPORT int __cdecl sem_close (sem_t * sem);
PTW32_DLLPORT int __cdecl sem_unlink (const char * name);
PTW32_DLLPORT int __cdecl sem_getvalue (sem_t * sem,
int * sval);
#ifdef __cplusplus
} /* End of extern "C" */
#endif /* __cplusplus */
#undef PTW32_LEVEL
#undef PTW32_LEVEL_MAX
#endif /* !SEMAPHORE_H */

View File

@ -3,111 +3,111 @@
#ifndef _HEADER_H_
#define _HEADER_H_
#include "types.h"
#include "PACKED.h"
struct __PACKED Header
{
char title[0xC];
char gamecode[0x4];
char makercode[2];
unsigned char unitcode; // product code. 0 = Nintendo DS
unsigned char devicetype; // device code. 0 = normal
unsigned char devicecap; // device size. (1<<n Mbit)
unsigned char reserved1[0x9]; // 0x015..0x01D
unsigned char romversion;
unsigned char reserved2; // 0x01F
u32 arm9_rom_offset; // points to libsyscall and rest of ARM9 binary
u32 arm9_entry_address;
u32 arm9_ram_address;
u32 arm9_size;
u32 arm7_rom_offset;
u32 arm7_entry_address;
u32 arm7_ram_address;
u32 arm7_size;
u32 fnt_offset;
u32 fnt_size;
u32 fat_offset;
u32 fat_size;
u32 arm9_overlay_offset;
u32 arm9_overlay_size;
u32 arm7_overlay_offset;
u32 arm7_overlay_size;
u32 rom_control_info1; // 0x00416657 for OneTimePROM
u32 rom_control_info2; // 0x081808F8 for OneTimePROM
u32 banner_offset;
u16 secure_area_crc;
u16 rom_control_info3; // 0x0D7E for OneTimePROM
u32 offset_0x70; // magic1 (64 bit encrypted magic code to disable LFSR)
u32 offset_0x74; // magic2
u32 offset_0x78; // unique ID for homebrew
u32 offset_0x7C; // unique ID for homebrew
u32 application_end_offset; // rom size
u32 rom_header_size;
u32 offset_0x88; // reserved... ?
u32 offset_0x8C;
// reserved
u32 offset_0x90;
u32 offset_0x94;
u32 offset_0x98;
u32 offset_0x9C;
u32 offset_0xA0;
u32 offset_0xA4;
u32 offset_0xA8;
u32 offset_0xAC;
u32 offset_0xB0;
u32 offset_0xB4;
u32 offset_0xB8;
u32 offset_0xBC;
unsigned char logo[156]; // character data
u16 logo_crc;
u16 header_crc;
// 0x160..0x17F reserved
u32 offset_0x160;
u32 offset_0x164;
u32 offset_0x168;
u32 offset_0x16C;
unsigned char zero[0x90];
};
#include "PACKED_END.h"
struct Country
{
const char countrycode;
const char *name;
};
struct Maker
{
const char *makercode;
const char *name;
};
extern Country countries[];
extern int NumCountries;
extern Maker makers[];
extern int NumMakers;
unsigned short CalcHeaderCRC(Header &header);
unsigned short CalcLogoCRC(Header &header);
void FixHeaderCRC(char *ndsfilename);
void ShowInfo(char *ndsfilename);
int HashAndCompareWithList(char *filename, unsigned char sha1[]);
int DetectRomType(const Header& header, char* romdata);
unsigned short CalcSecureAreaCRC(bool encrypt);
#define ROMTYPE_HOMEBREW 0
#define ROMTYPE_MULTIBOOT 1
#define ROMTYPE_NDSDUMPED 2 // decrypted secure area
#define ROMTYPE_ENCRSECURE 3
#define ROMTYPE_MASKROM 4 // unknown layout
#endif
#include "types.h"
#include "PACKED.h"
struct __PACKED Header
{
char title[0xC];
char gamecode[0x4];
char makercode[2];
unsigned char unitcode; // product code. 0 = Nintendo DS
unsigned char devicetype; // device code. 0 = normal
unsigned char devicecap; // device size. (1<<n Mbit)
unsigned char reserved1[0x9]; // 0x015..0x01D
unsigned char romversion;
unsigned char reserved2; // 0x01F
u32 arm9_rom_offset; // points to libsyscall and rest of ARM9 binary
u32 arm9_entry_address;
u32 arm9_ram_address;
u32 arm9_size;
u32 arm7_rom_offset;
u32 arm7_entry_address;
u32 arm7_ram_address;
u32 arm7_size;
u32 fnt_offset;
u32 fnt_size;
u32 fat_offset;
u32 fat_size;
u32 arm9_overlay_offset;
u32 arm9_overlay_size;
u32 arm7_overlay_offset;
u32 arm7_overlay_size;
u32 rom_control_info1; // 0x00416657 for OneTimePROM
u32 rom_control_info2; // 0x081808F8 for OneTimePROM
u32 banner_offset;
u16 secure_area_crc;
u16 rom_control_info3; // 0x0D7E for OneTimePROM
u32 offset_0x70; // magic1 (64 bit encrypted magic code to disable LFSR)
u32 offset_0x74; // magic2
u32 offset_0x78; // unique ID for homebrew
u32 offset_0x7C; // unique ID for homebrew
u32 application_end_offset; // rom size
u32 rom_header_size;
u32 offset_0x88; // reserved... ?
u32 offset_0x8C;
// reserved
u32 offset_0x90;
u32 offset_0x94;
u32 offset_0x98;
u32 offset_0x9C;
u32 offset_0xA0;
u32 offset_0xA4;
u32 offset_0xA8;
u32 offset_0xAC;
u32 offset_0xB0;
u32 offset_0xB4;
u32 offset_0xB8;
u32 offset_0xBC;
unsigned char logo[156]; // character data
u16 logo_crc;
u16 header_crc;
// 0x160..0x17F reserved
u32 offset_0x160;
u32 offset_0x164;
u32 offset_0x168;
u32 offset_0x16C;
unsigned char zero[0x90];
};
#include "PACKED_END.h"
struct Country
{
const char countrycode;
const char *name;
};
struct Maker
{
const char *makercode;
const char *name;
};
extern Country countries[];
extern int NumCountries;
extern Maker makers[];
extern int NumMakers;
unsigned short CalcHeaderCRC(Header &header);
unsigned short CalcLogoCRC(Header &header);
void FixHeaderCRC(char *ndsfilename);
void ShowInfo(char *ndsfilename);
int HashAndCompareWithList(char *filename, unsigned char sha1[]);
int DetectRomType(const Header& header, char* romdata);
unsigned short CalcSecureAreaCRC(bool encrypt);
#define ROMTYPE_HOMEBREW 0
#define ROMTYPE_MULTIBOOT 1
#define ROMTYPE_NDSDUMPED 2 // decrypted secure area
#define ROMTYPE_ENCRSECURE 3
#define ROMTYPE_MASKROM 4 // unknown layout
#endif

View File

@ -1,867 +0,0 @@
[Project]
FileName=DeSmuME.dev
Name=DeSmuME
UnitCount=82
Type=0
Ver=1
ObjFiles=
Includes=..
Libs=
PrivateResource=yopyop_private.rc
ResourceIncludes=
MakeIncludes=
Compiler=-DVERSION=\"0.7.2\" _@@_
CppCompiler=_@@_
Linker=-ldxguid_@@_-ldxerr8_@@_-ldsound_@@_-lws2_32_@@_-lglu32_@@_-lopengl32_@@_
IsCpp=0
Icon=DeSmuME.ico
ExeOutput=
ObjectOutput=obj
OverrideOutput=0
OverrideOutputName=DeSmuME.exe
HostApplication=
Folders=EmuSRC,EmuSRC/Desassembleur,EmuSRC/MMU,EmuSRC/NDSSys,Resources
CommandLine=
UseCustomMakefile=0
CustomMakefile=
IncludeVersionInfo=1
SupportXPThemes=1
CompilerSet=0
CompilerSettings=0000000001001000000100
[Unit1]
FileName=..\ROMReader.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=999
OverrideBuildCmd=0
BuildCmd=$(CC) -c ROMReader.c -o obj/ROMReader.o $(CFLAGS)
[VersionInfo]
Major=0
Minor=0
Release=7
Build=0
LanguageID=5129
CharsetID=1252
CompanyName=yopyop
FileVersion=
FileDescription=NDS(tm) emulator
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=DeSmuME
ProductVersion=
AutoIncBuildNr=0
[Unit3]
FileName=yopyop_private.rc
CompileCpp=0
Folder=Resources
Compile=1
Link=0
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit4]
FileName=..\types.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit8]
FileName=..\cp15.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit10]
FileName=..\debug.h
CompileCpp=1
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit14]
FileName=..\FIFO.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c FIFO.c -o obj/FIFO.o $(CFLAGS)
[Unit15]
FileName=..\Disassembler.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit16]
FileName=..\FIFO.h
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
CompileCpp=0
[Unit17]
FileName=..\fs-windows.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c fs-windows.c -o obj/fs-windows.o $(CFLAGS)
[Unit18]
FileName=..\fs.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit19]
FileName=..\GPU.c
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c GPU.c -o obj/GPU.o $(CFLAGS)
CompileCpp=0
[Unit20]
FileName=..\GPU.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit21]
FileName=..\ARM9.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit22]
FileName=ConfigKeys.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c ConfigKeys.c -o obj/ConfigKeys.o $(CFLAGS)
[Unit23]
FileName=CWindow.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c CWindow.c -o obj/CWindow.o $(CFLAGS)
[Unit24]
FileName=disView.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c disView.c -o obj/disView.o $(CFLAGS)
[Unit25]
FileName=ginfo.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c ginfo.c -o obj/ginfo.o $(CFLAGS)
[Unit26]
FileName=IORegView.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c IORegView.c -o obj/IORegView.o $(CFLAGS)
[Unit27]
FileName=main.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c main.c -o obj/main.o $(CFLAGS)
[Unit28]
FileName=mapView.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c mapView.c -o obj/mapView.o $(CFLAGS)
[Unit29]
FileName=memView.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c memView.c -o obj/memView.o $(CFLAGS)
[Unit32]
FileName=tileView.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c tileView.c -o obj/tileView.o $(CFLAGS)
[Unit33]
FileName=ConfigKeys.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit34]
FileName=CWindow.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit37]
FileName=IORegView.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit41]
FileName=palView.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit42]
FileName=..\bios.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit43]
FileName=..\bits.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit46]
FileName=..\fat.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit35]
FileName=disView.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit40]
FileName=oamView.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit44]
FileName=..\cflash.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit45]
FileName=..\dscard.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit47]
FileName=..\mc.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit48]
FileName=..\mem.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit49]
FileName=..\MMU.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit50]
FileName=..\NDSSystem.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit31]
FileName=palView.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c palView.c -o obj/palView.o $(CFLAGS)
[Unit36]
FileName=ginfo.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit38]
FileName=mapView.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit39]
FileName=memView.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit53]
FileName=..\arm_instructions.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c arm_instructions.c -o obj/arm_instructions.o $(CFLAGS)
[Unit54]
FileName=..\armcpu.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c armcpu.c -o obj/armcpu.o $(CFLAGS)
[Unit55]
FileName=..\bios.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c bios.c -o obj/bios.o $(CFLAGS)
[Unit56]
FileName=..\cflash.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c cflash.c -o obj/cflash.o $(CFLAGS)
[Unit57]
FileName=..\cp15.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c cp15.c -o obj/cp15.o $(CFLAGS)
[Unit58]
FileName=..\mc.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c mc.c -o obj/mc.o $(CFLAGS)
[Unit60]
FileName=..\NDSSystem.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c NDSSystem.c -o obj/NDSSystem.o $(CFLAGS)
[Unit61]
FileName=..\saves.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c saves.c -o obj/saves.o $(CFLAGS)
[Unit62]
FileName=..\SPU.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c SPU.c -o obj/SPU.o $(CFLAGS)
[Unit5]
FileName=..\arm_instructions.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit6]
FileName=..\armcpu.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit7]
FileName=..\config.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit11]
FileName=..\thumb_instructions.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit12]
FileName=resource.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit13]
FileName=..\Disassembler.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c Disassembler.c -o obj/Disassembler.o $(CFLAGS)
[Unit30]
FileName=oamView.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c oamView.c -o obj/oamView.o $(CFLAGS)
[Unit9]
FileName=..\debug.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c debug.c -o obj/debug.o $(CFLAGS)
[Unit2]
FileName=resources.rc
Folder=Resources
Compile=1
Link=0
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit51]
FileName=..\saves.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit64]
FileName=snddx.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c snddx.c -o obj/snddx.o $(CFLAGS)
[Unit65]
FileName=snddx.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit66]
FileName=..\registers.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit59]
FileName=..\MMU.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c MMU.c -o obj/MMU.o $(CFLAGS)
[Unit52]
FileName=..\SPU.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit63]
FileName=..\thumb_instructions.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c thumb_instructions.c -o obj/thumb_instructions.o $(CFLAGS)
[Unit67]
FileName=..\ROMReader.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit68]
FileName=..\wifi.h
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit69]
FileName=..\wifi.c
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c wifi.c -o obj/wifi.o $(CFLAGS)
[Unit70]
FileName=..\gl_vertex.c
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit71]
FileName=..\gl_vertex.h
CompileCpp=0
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit72]
FileName=OGLRender.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit73]
FileName=OGLRender.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c OGLRender.c -o obj/OGLRender.o $(CFLAGS)
[Unit74]
FileName=..\matrix.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c matrix.c -o obj/matrix.o $(CFLAGS)
[Unit75]
FileName=..\render3D.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=$(CC) -c render3D.c -o obj/render3D.o $(CFLAGS)
[Unit76]
FileName=..\matrix.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit77]
FileName=..\render3D.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit78]
FileName=FirmConfig.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit79]
FileName=FirmConfig.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit80]
FileName=..\gdbstub\gdbstub_internal.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit81]
FileName=..\gdbstub\gdbstub.c
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=
[Unit82]
FileName=..\gdbstub.h
CompileCpp=0
Folder=DeSmuME
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=