X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=dsp56k.h;h=7b61d63cddddc5a9d2fbf999f1472bdb574a2c8a;hp=18395fc72f89a95353ef3432f8dd1de26cc6e95c;hb=c59f7a33730dacf753e066a4002e2f749051a137;hpb=bdbf34766f4d074a5933eb1326fe4ce03d249e10 diff --git a/dsp56k.h b/dsp56k.h index 18395fc..7b61d63 100644 --- a/dsp56k.h +++ b/dsp56k.h @@ -6,7 +6,8 @@ // Source utilised with the kind permission of Landon Dyer // -#pragma once +#ifndef __DSP56K_H__ +#define __DSP56K_H__ #include "rmac.h" #include "sect.h" @@ -36,7 +37,8 @@ extern DSP_ORG dsp_orgmap[1024]; // Mark all 56001 org changes extern DSP_ORG * dsp_currentorg; extern int dsp_written_data_in_current_org; -#define dprintf(...) p_buf += sprintf(p_buf, __VA_ARGS__) +#define D_printf(...) chptr += sprintf(chptr, __VA_ARGS__) // Exported functions +#endif // __DSP56K_H__