mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-21 01:49:31 +00:00
Changes:
-hash function to crc32 function (tpf support) Improvements: -whole textures can be send to game (needed for zip and tpf) -zip support (normal and as tpf format) -tpf support
This commit is contained in:
@@ -45,14 +45,14 @@ OTM_Client::~OTM_Client(void)
|
||||
|
||||
void* OTM_Client::Entry(void)
|
||||
{
|
||||
char buffer[BUFSIZE];
|
||||
char buffer[SMALL_BUFSIZE];
|
||||
while (1)
|
||||
{
|
||||
unsigned long size;
|
||||
bool ret = ReadFile(
|
||||
Pipe.In, // handle to pipe
|
||||
buffer, // buffer to receive data
|
||||
BUFSIZE, // size of buffer
|
||||
SMALL_BUFSIZE, // size of buffer
|
||||
&size, // number of bytes read
|
||||
NULL); // not overlapped I/O
|
||||
|
||||
|
||||
Reference in New Issue
Block a user