pvr: nullify TA context at shudown

This commit is contained in:
flyinghead 2021-03-05 18:20:09 +01:00
parent 3d5e648b96
commit 45fcd811ec
1 changed files with 3 additions and 0 deletions

View File

@ -223,6 +223,9 @@ TA_context* tactx_Pop(u32 addr)
void tactx_Term()
{
if (ta_ctx != nullptr)
SetCurrentTARC(TACTX_NONE);
for (size_t i = 0; i < ctx_list.size(); i++)
{
ctx_list[i]->Free();