X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPicoInt.h;h=12d8e2ae1a853dc8643a42cfd99c6cde0ebcd496;hb=4936aac1cac5db9c8a0bec2d743d05be5c799f1f;hp=cd5ba5b6d2c715fd78e1e92d0003eaa334e0aba9;hpb=67200875639833c15ff4645bf87300c80dcdf80f;p=picodrive.git diff --git a/Pico/PicoInt.h b/Pico/PicoInt.h index cd5ba5b..12d8e2a 100644 --- a/Pico/PicoInt.h +++ b/Pico/PicoInt.h @@ -1,7 +1,7 @@ // Pico Library - Internal Header File // (c) Copyright 2004 Dave, All rights reserved. -// (c) Copyright 2006,2007 Grazvydas "notaz" Ignotas, all rights reserved. +// (c) Copyright 2006-2008 Grazvydas "notaz" Ignotas, all rights reserved. // Free for non-commercial use. // For commercial use, separate licencing terms must be obtained. @@ -185,10 +185,7 @@ extern struct DrZ80 drZ80; #define z80_run(cycles) ((cycles) - DrZ80Run(&drZ80, cycles)) #define z80_run_nr(cycles) DrZ80Run(&drZ80, cycles) -#define z80_int() { \ - drZ80.z80irqvector = 0xFF; /* default IRQ vector RST opcode */ \ - drZ80.Z80_IRQ = 1; \ -} +#define z80_int() drZ80.Z80_IRQ = 1 #define z80_cyclesLeft drZ80.cycles