fixed some stuff

This commit is contained in:
2026-01-09 19:55:37 +02:00
parent 41aebdf8e8
commit 87448510a2
2 changed files with 9 additions and 1 deletions

View File

@@ -170,6 +170,14 @@ Target_t Target_t::DefaultTarget()
if ( szArch == "x86_64" ) if ( szArch == "x86_64" )
cpu = TARGET_CPU_AMD64; cpu = TARGET_CPU_AMD64;
else if ( szArch == "i386" )
cpu = TARGET_CPU_80386;
else if ( szArch == "i486" )
cpu = TARGET_CPU_80486;
else if ( szArch == "i586" )
cpu = TARGET_CPU_80586;
else if ( szArch == "i686" )
cpu = TARGET_CPU_80686;
else if ( szArch == "aarch64" ) else if ( szArch == "aarch64" )
cpu = TARGET_CPU_AARCH64; cpu = TARGET_CPU_AARCH64;
else if ( szArch == "wasm32" ) else if ( szArch == "wasm32" )

View File

@@ -239,7 +239,7 @@ HTTPResponse_t CHTTPClient::ParseResponse( const char *szMessage, uint32_t uData
response.m_params = CUtlBuffer<HTTPHeaderParam_t>(headers.GetSize()); response.m_params = CUtlBuffer<HTTPHeaderParam_t>(headers.GetSize());
for (int i = 0; i < headers.GetSize(); i++ ) for (int i = 0; i < headers.GetSize(); i++ )
{ {
response.m_params[i] = headers[i]; response.m_params.operator[](i) = headers.operator[](i);
} }
response.m_message = data; response.m_message = data;
response.m_bIsComplete = true; response.m_bIsComplete = true;