X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico_int.h;h=bba13c95059e87d379f6bb140d86602392c88b0e;hb=f8675e282e7aa72bc6ab0edbb1dada4395d1c44c;hp=2a793e5ed83b1cc42632dd6cdee7b22fa6755e42;hpb=8a847c12e6a82869b7ff6f1742f53e0da1ad2db6;p=picodrive.git diff --git a/pico/pico_int.h b/pico/pico_int.h index 2a793e5..bba13c9 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -283,6 +283,9 @@ extern SH2 sh2s[2]; #define sh2_set_vbr(c, v) \ { if (c) ssh2.vbr = v; else msh2.vbr = v; } +#define elprintf_sh2(sh2, w, f, ...) \ + elprintf(w,"%csh2 "f,(sh2)->is_slave?'s':'m',##__VA_ARGS__) + // --------------------------------------------------------- // main oscillator clock which controls timing