mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
31 lines
521 B
C
31 lines
521 B
C
|
|
#ifdef PDB
|
|
|
|
enum {
|
|
PDBCT_SH2,
|
|
};
|
|
|
|
void pdb_register_cpu(void *context, int type, const char *name);
|
|
void pdb_cleanup(void);
|
|
void pdb_step(void *context, unsigned int pc);
|
|
void pdb_command(const char *cmd);
|
|
|
|
#else
|
|
|
|
#define pdb_register_cpu(a,b,c)
|
|
#define pdb_cleanup()
|
|
#define pdb_step(a,b)
|
|
#define pdb_command(a)
|
|
|
|
#endif
|
|
|
|
|
|
#if defined(PDB) && defined(PDB_NET)
|
|
|
|
int pdb_net_connect(const char *host, const char *port);
|
|
|
|
#else
|
|
|
|
static __inline int pdb_net_connect(const char *host, const char *port) {return 0;}
|
|
|
|
#endif
|