summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/scsihle.h
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2012-10-11 08:39:37 +0000
committer smf- <smf-@users.noreply.github.com>2012-10-11 08:39:37 +0000
commit8705d76c400a921934b199745fb17460e8ce2600 (patch)
tree3961b310bad5f9b8fc42ade189993b6fe68e87e1 /src/emu/machine/scsihle.h
parent76b18952fad7003fbcdb24d2c9aa23935f62365a (diff)
removed GetCommand() and made command and commandLength protected (nw)
Diffstat (limited to 'src/emu/machine/scsihle.h')
-rw-r--r--src/emu/machine/scsihle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/machine/scsihle.h b/src/emu/machine/scsihle.h
index 10e1ce5139d..4ef20e1a91e 100644
--- a/src/emu/machine/scsihle.h
+++ b/src/emu/machine/scsihle.h
@@ -21,7 +21,6 @@ public:
virtual void SetDevice( void *device ) = 0;
virtual void GetDevice( void **device ) = 0;
virtual void SetCommand( UINT8 *command, int commandLength );
- virtual void GetCommand( UINT8 **command, int *commandLength );
virtual void ExecCommand( int *transferLength );
virtual void WriteData( UINT8 *data, int dataLength );
virtual void ReadData( UINT8 *data, int dataLength );
@@ -40,6 +39,9 @@ protected:
virtual void device_start();
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
+ UINT8 command[ 32 ];
+ int commandLength;
+
private:
void scsi_out_req_delay(UINT8 state);
void scsi_change_phase(UINT8 newphase);
@@ -57,7 +59,6 @@ private:
emu_timer *sel_timer;
emu_timer *dataout_timer;
- UINT8 command[ 32 ];
UINT8 cmd_idx;
UINT8 is_linked;
@@ -67,7 +68,6 @@ private:
int data_last;
int sectorbytes;
- int commandLength;
int phase;
int scsiID;
};