Do not crash if data is sent to TA before calling ListInit, just ignore
it. Fixes Conflict Zone - Modern War Strategy.
This commit is contained in:
parent
e7d1688ae5
commit
cbaaaaf970
|
@ -298,6 +298,12 @@ void ta_vtx_SoftReset()
|
|||
INLINE
|
||||
void DYNACALL ta_thd_data32_i(void* data)
|
||||
{
|
||||
if (ta_ctx == NULL)
|
||||
{
|
||||
printf("Warning: data sent to TA prior to ListInit. Ignored\n");
|
||||
return;
|
||||
}
|
||||
|
||||
simd256_t* dst = (simd256_t*)ta_tad.thd_data;
|
||||
simd256_t* src = (simd256_t*)data;
|
||||
|
||||
|
|
Loading…
Reference in New Issue