1.1 --- a/src/sh4/sh4dasm.in Wed Nov 07 11:46:58 2007 +0000
1.2 +++ b/src/sh4/sh4dasm.in Thu Jan 17 10:17:32 2008 +0000
1.5 - * $Id: sh4dasm.in,v 1.3 2007-11-07 11:46:58 nkeynes Exp $
1.8 * SH4 CPU definition and disassembly functions
1.10 @@ -285,19 +285,16 @@
1.14 -void sh4_disasm_region( const gchar *filename, int from, int to )
1.15 +void sh4_disasm_region( FILE *f, int from, int to )
1.22 - f = fopen( filename, "w" );
1.23 for( pc = from; pc < to; pc+=2 ) {
1.25 sh4_disasm_instruction( pc,
1.26 buf, sizeof(buf), opcode );
1.27 fprintf( f, " %08x: %s %s\n", pc, opcode, buf );