mirror of
https://github.com/holub/mame
synced 2025-05-17 19:24:59 +03:00
Fix inability to detect an error in sdl_write_ptty (no whatsnew)
This commit is contained in:
parent
34cea6102e
commit
2f1b7f3468
@ -72,7 +72,7 @@ file_error sdl_read_ptty(osd_file *file, void *buffer, UINT64 offset, UINT32 cou
|
||||
|
||||
file_error sdl_write_ptty(osd_file *file, const void *buffer, UINT64 offset, UINT32 count, UINT32 *actual)
|
||||
{
|
||||
UINT32 result;
|
||||
ssize_t result;
|
||||
result = write(file->handle, buffer, count);
|
||||
|
||||
if (result < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user