diff options
author | Alexander Tkachev | 2016-07-09 17:11:40 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 30430b379fa373c277c3a64cfa03aa108b560476 (patch) | |
tree | ae6878851d608c47d79791f8208620b056e9d8d5 /backends/networking/sdl_net/client.h | |
parent | 36b0069e95a5eb6816e75bb9cf4aae56c7b5b258 (diff) | |
download | scummvm-rg350-30430b379fa373c277c3a64cfa03aa108b560476.tar.gz scummvm-rg350-30430b379fa373c277c3a64cfa03aa108b560476.tar.bz2 scummvm-rg350-30430b379fa373c277c3a64cfa03aa108b560476.zip |
CLOUD: Fix Client's buffer
Diffstat (limited to 'backends/networking/sdl_net/client.h')
-rw-r--r-- | backends/networking/sdl_net/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/networking/sdl_net/client.h b/backends/networking/sdl_net/client.h index 22e450a6a8..f37d04658c 100644 --- a/backends/networking/sdl_net/client.h +++ b/backends/networking/sdl_net/client.h @@ -45,6 +45,8 @@ enum ClientState { class Client; +#define CLIENT_BUFFER_SIZE 1 * 1024 * 1024 + class ClientHandler { public: virtual ~ClientHandler() {}; @@ -58,6 +60,7 @@ class Client { Reader _reader; ClientHandler *_handler, *_previousHandler; Common::MemoryReadWriteStream *_stream; + byte *_buffer; bool readMoreIfNeeded(); |