From dda53777f8d6f2262dd0153c53bff9de092fd8ab Mon Sep 17 00:00:00 2001
From: leslie <unknown>
Date: Mon, 4 Feb 2008 21:54:37 +0100
Subject: [PATCH] update TPS testing

---
 .hgignore         | 1 +
 testing/Makefile  | 2 +-
 testing/testTPS.c | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.hgignore b/.hgignore
index 44031d2..f70cea1 100644
--- a/.hgignore
+++ b/.hgignore
@@ -13,6 +13,7 @@ po/*.pot
 version.c
 i18n.c
 dump.*
+core*
 
 syntax: regexp
 ^testing/test[^.]*$
diff --git a/testing/Makefile b/testing/Makefile
index b79e2c6..3f5074b 100644
--- a/testing/Makefile
+++ b/testing/Makefile
@@ -72,6 +72,6 @@ filterhelper: filterhelper.o
 	$(CXX) $(CXXFLAGS) $^ -o $@
 clean:
 	@-rm -f *.o core* *~
-	@-rm -f testECM testEMM testN1Emu testN2Emu testN2RunEmu
+	@-rm -f testECM testEMM testN1Emu testN2Emu testN2RunEmu testTPS
 	@-rm -f filterhelper
 	@-rm -f dump.txt
diff --git a/testing/testTPS.c b/testing/testTPS.c
index 546d6ab..846f1a5 100644
--- a/testing/testTPS.c
+++ b/testing/testTPS.c
@@ -59,8 +59,10 @@ void cTpsAuHook::Process(int pid, unsigned char *data)
 
 void cTpsAuHook::DummyProcess(unsigned char *data, int size)
 {
+  tpskeys.Load(false);
   cOpenTVModule mod(2,data,size);
   tpskeys.ProcessAu(&mod);
+  tpskeys.Save();
 }
 
 // ----------------------------------------------------------------
-- 
2.39.5