diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-01-23 09:26:39 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-01-23 09:26:39 +0000 |
| commit | 069873cb1960e771822f408037c2e021c5dfe46f (patch) | |
| tree | 1d2941998c12956ca327014def5218ae3a6952b6 /libpcsxcore/cdrom.h | |
| parent | 47c7da9655a692701436605b3a21f7d08ce28ef6 (diff) | |
| download | pcsxr-069873cb1960e771822f408037c2e021c5dfe46f.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@40651 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/cdrom.h')
| -rw-r--r-- | libpcsxcore/cdrom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/cdrom.h b/libpcsxcore/cdrom.h index 70f93a5d..64ee73f4 100644 --- a/libpcsxcore/cdrom.h +++ b/libpcsxcore/cdrom.h @@ -28,6 +28,9 @@ #include "psxmem.h" #include "psxhw.h" +#define btoi(b) ((b)/16*10 + (b)%16) /* BCD to u_char */ +#define itob(i) ((i)/10*16 + (i)%10) /* u_char to BCD */ + typedef struct { unsigned char OCUP; unsigned char Reg1Mode; |
