From f14ee9994301bb8f8a3bb9a7d37989f11e0792b2 Mon Sep 17 00:00:00 2001 From: leslie Date: Thu, 13 Mar 2008 01:06:16 +0100 Subject: [PATCH] nagra-0101: remove duplicate map code --- systems/nagra/nagra2-0101.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/systems/nagra/nagra2-0101.c b/systems/nagra/nagra2-0101.c index 684c2e3..f5bb3c7 100644 --- a/systems/nagra/nagra2-0101.c +++ b/systems/nagra/nagra2-0101.c @@ -773,19 +773,13 @@ bool cN2Prov0101::ProcessMap(int f) DoMap(f,tmp,-((Get(0x48)<<16)|(Get(0x49)<<8)|Get(0x4a))); AddCycles(MapCycles()); break; - case 0x32: - GetMem(HILO(0x44),tmp,dl,0); - DoMap(f,tmp,l); - break; - case 0x3b: - GetMem(HILO(0x44),tmp,dl,0); - DoMap(f,tmp,l); - break; case 0x29: DoMap(f,tmp,-Get(0x48)); Set(0x4b,tmp[0]); AddCycles(MapCycles()); break; + case 0x32: + case 0x3b: case 0x3e: GetMem(HILO(0x44),tmp,dl,0); DoMap(f,tmp,l); @@ -795,10 +789,6 @@ bool cN2Prov0101::ProcessMap(int f) DoMap(f); break; case 0x44: - GetMem(0x400,tmp,64,0); - DoMap(f,tmp); - SetMem(0x440,tmp,20,0); - break; case 0x45: GetMem(0x400,tmp,64,0); DoMap(f,tmp,l); -- 2.39.5