mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-23 21:29:30 +00:00
Fix CD support on DaynaPort branch
The CD device relies on SASIDEV.buf being at least 0x800 long.
This commit is contained in:
parent
cdf2b6b39f
commit
5f7a0a0d86
@ -54,7 +54,7 @@ SASIDEV::SASIDEV(Device *dev)
|
||||
#ifdef RASCSI
|
||||
ctrl.execstart = 0;
|
||||
#endif // RASCSI
|
||||
ctrl.bufsize = ETH_FRAME_LEN + 16 + ETH_FCS_LEN;
|
||||
ctrl.bufsize = std::max(0x800, ETH_FRAME_LEN + 16 + ETH_FCS_LEN);
|
||||
ctrl.buffer = (BYTE *)malloc(ctrl.bufsize);
|
||||
memset(ctrl.buffer, 0x00, ctrl.bufsize);
|
||||
ctrl.blocks = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user