aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/cdrom.h
diff options
context:
space:
mode:
authornotaz2012-12-30 03:02:43 +0200
committernotaz2013-01-03 01:06:43 +0200
commitfffad32e54d18c0a527a1e9eda0a746e2485284b (patch)
tree4c8e485ee13a10985ea3bad711c904051c4e8be0 /libpcsxcore/cdrom.h
parent2d5ca6c0ed5b30a57a7eebc263ea0a624c33df57 (diff)
downloadpcsx_rearmed-fffad32e54d18c0a527a1e9eda0a746e2485284b.tar.gz
pcsx_rearmed-fffad32e54d18c0a527a1e9eda0a746e2485284b.tar.bz2
pcsx_rearmed-fffad32e54d18c0a527a1e9eda0a746e2485284b.zip
cdrom: clean up subq handling
keep track of it at all times
Diffstat (limited to 'libpcsxcore/cdrom.h')
-rw-r--r--libpcsxcore/cdrom.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/libpcsxcore/cdrom.h b/libpcsxcore/cdrom.h
index 5dbf471..7bca811 100644
--- a/libpcsxcore/cdrom.h
+++ b/libpcsxcore/cdrom.h
@@ -51,8 +51,16 @@ typedef struct {
unsigned char StatP;
- unsigned char Transfer[CD_FRAMESIZE_RAW];
- unsigned int pad1;
+ unsigned char Transfer[DATA_SIZE];
+ struct {
+ unsigned char Track;
+ unsigned char Index;
+ unsigned char Relative[3];
+ unsigned char Absolute[3];
+ } subq;
+ unsigned char TrackChanged;
+ unsigned char pad1[3];
+ unsigned int pad3;
unsigned char Prev[4];
unsigned char Param[8];
@@ -70,7 +78,7 @@ typedef struct {
unsigned char ResultTN[6];
unsigned char ResultTD[4];
unsigned char SetSector[4];
- unsigned char SetSectorSeek[4];
+ unsigned char SetSectorEnd[4];
unsigned char SetSectorPlay[4];
unsigned char Track;
boolean Play, Muted;
@@ -100,8 +108,6 @@ typedef struct {
extern cdrStruct cdr;
-void cdrDecodedBufferInterrupt();
-
void cdrReset();
void cdrInterrupt();
void cdrReadInterrupt();