X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcd%2Fsek.c;h=8d838628820116ce4e2d752c18f70ceaa7f8e818;hb=b26701370b773deded710187215a7db98513b941;hp=789bb18bc4cdb3ee95b247dbd1026212f9900f3e;hpb=5e89f0f5aebedc086888415e063b9883fc4a9e92;p=picodrive.git diff --git a/pico/cd/sek.c b/pico/cd/sek.c index 789bb18..8d83862 100644 --- a/pico/cd/sek.c +++ b/pico/cd/sek.c @@ -1,11 +1,16 @@ -// (c) Copyright 2007 notaz, All rights reserved. - +/* + * PicoDrive + * (C) notaz, 2007 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include "../pico_int.h" -int SekCycleCntS68k=0; // cycles done in this frame -int SekCycleAimS68k=0; // cycle aim +unsigned int SekCycleCntS68k; +unsigned int SekCycleAimS68k; /* context */ @@ -52,10 +57,7 @@ static void SekResetAckS68k(void) static int SekUnrecognizedOpcodeS68k(void) { - unsigned int pc, op; - pc = SekPcS68k; - op = PicoCpuCS68k.read16(pc); - elprintf(EL_ANOMALY, "Unrecognized Opcode %04x @ %06x", op, pc); + elprintf(EL_ANOMALY, "Unrecognized Opcode @ %06x", SekPcS68k); //exit(1); return 0; }