From d9d9b76d79bc6af12cc9a90de0473ae76d170e7f Mon Sep 17 00:00:00 2001 From: Stefanos Kornilios Mitsis Poiitidis Date: Thu, 15 Jan 2015 14:23:56 +0100 Subject: [PATCH] TA/VTX: Reset current list on vdec_init Fixes some rare cases where it's invalid or left over to some list, without a CurrentList set, leading to crash. --- core/hw/pvr/ta_vtx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hw/pvr/ta_vtx.cpp b/core/hw/pvr/ta_vtx.cpp index 7a813b7aa..591b3b24e 100644 --- a/core/hw/pvr/ta_vtx.cpp +++ b/core/hw/pvr/ta_vtx.cpp @@ -718,7 +718,7 @@ public: { VDECInit(); TaCmd=ta_main; - + CurrentList = ListType_None; ListIsFinished[0]=ListIsFinished[1]=ListIsFinished[2]=ListIsFinished[3]=ListIsFinished[4]=false; }