mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
pty: put a stopper in windows & osdmini versions of OSD as they don't
support PTYs
This commit is contained in:
parent
d2d30ee26c
commit
ba6f6fc127
@ -101,6 +101,14 @@ file_error osd_write(osd_file *file, const void *buffer, UINT64 offset, UINT32 l
|
||||
return FILERR_NONE;
|
||||
}
|
||||
|
||||
//============================================================
|
||||
// osd_openpty
|
||||
//============================================================
|
||||
|
||||
file_error osd_openpty(osd_file **file, char *name, size_t name_len)
|
||||
{
|
||||
return FILERR_FAILURE;
|
||||
}
|
||||
|
||||
//============================================================
|
||||
// osd_truncate
|
||||
|
@ -32,3 +32,8 @@ file_error sdl_close_ptty(osd_file *file)
|
||||
{
|
||||
return FILERR_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
file_error sdl_slave_name_ptty(osd_file *file)
|
||||
{
|
||||
return FILERR_ACCESS_DENIED;
|
||||
}
|
||||
|
@ -235,6 +235,14 @@ file_error osd_write(osd_file *file, const void *buffer, UINT64 offset, UINT32 l
|
||||
return FILERR_NONE;
|
||||
}
|
||||
|
||||
//============================================================
|
||||
// osd_openpty
|
||||
//============================================================
|
||||
|
||||
file_error osd_openpty(osd_file **file, char *name, size_t name_len)
|
||||
{
|
||||
return FILERR_FAILURE;
|
||||
}
|
||||
|
||||
//============================================================
|
||||
// osd_truncate
|
||||
|
Loading…
Reference in New Issue
Block a user