From: leslie Date: Tue, 12 Feb 2008 18:23:40 +0000 (+0100) Subject: nagra: fix NEG (from emunation) X-Git-Tag: 0.9.1~117 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=f6a045d135ff1abd32c7dc016757e1bee4f0f75b;p=sasc-ng.git nagra: fix NEG (from emunation) --- diff --git a/systems/nagra/cpu.c b/systems/nagra/cpu.c index a9f155e..50b97c5 100644 --- a/systems/nagra/cpu.c +++ b/systems/nagra/cpu.c @@ -720,7 +720,7 @@ int c6805::Run(int max_count) case 0x50: case 0x60: case 0x70: - op=~op+1; if(!op) cc.c=0; tst(op); break; + op=~op+1; cc.c=(op!=0); tst(op); break; case 0x42: // MUL case 0x52: {