mirror of
https://github.com/holub/mame
synced 2025-10-08 17:37:56 +03:00
Don't need to ifdef this out anymore either (nw)
This commit is contained in:
parent
d0ce8784a7
commit
4cc9dd016a
@ -50,10 +50,6 @@ public:
|
|||||||
|
|
||||||
virtual error read(void *buffer, std::uint64_t offset, std::uint32_t count, std::uint32_t &actual) override
|
virtual error read(void *buffer, std::uint64_t offset, std::uint32_t count, std::uint32_t &actual) override
|
||||||
{
|
{
|
||||||
#if defined(EMSCRIPTEN)
|
|
||||||
m_listening = false;
|
|
||||||
return error::FAILURE; // TODO: work out what it dislikes about emscripten
|
|
||||||
#else
|
|
||||||
fd_set readfds;
|
fd_set readfds;
|
||||||
FD_ZERO(&readfds);
|
FD_ZERO(&readfds);
|
||||||
FD_SET(m_sock, &readfds);
|
FD_SET(m_sock, &readfds);
|
||||||
@ -107,7 +103,6 @@ public:
|
|||||||
{
|
{
|
||||||
return error::FAILURE;
|
return error::FAILURE;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual error write(void const *buffer, std::uint64_t offset, std::uint32_t count, std::uint32_t &actual) override
|
virtual error write(void const *buffer, std::uint64_t offset, std::uint32_t count, std::uint32_t &actual) override
|
||||||
|
Loading…
Reference in New Issue
Block a user