X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=cyclone68000.git;a=blobdiff_plain;f=app.h;h=15ab06c558a46d8512945967f1202add87bc996c;hp=9d0195708f1658e6f8686d80bf849da311f17ad0;hb=ee2d42257a2d52072f6b163f8ec279503241e9de;hpb=198817609e33a09e825e71e85118d1b07ecdf645 diff --git a/app.h b/app.h index 9d01957..15ab06c 100644 --- a/app.h +++ b/app.h @@ -55,10 +55,14 @@ extern const char * const Sarm[4]; // Sign-extend ARM Extensions for operand siz extern int Cycles; // Current cycles for opcode extern int pc_dirty; // something changed PC during processing extern int arm_op_count; // for stats -void ot(const char *format, ...); +void ot(const char *format, ...) +#ifdef __GNUC__ + __attribute__((format(printf, 1, 2))); +#endif + ; void ltorg(); int MemHandler(int type,int size,int addrreg=0,int need_addrerr_check=1); -void FlushPC(void); +void FlushPC(int force=0); // OpAny.cpp extern int g_op;