~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/emu/cpu/x86log.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
***************************************************************************/
75
75
 
76
76
static void reset_log(x86log_context *log);
77
 
static int x86log_i386_dasm_one_ex(char *buffer, UINT64 eip, const UINT8 *oprom, int mode);
 
77
extern int i386_dasm_one(char *buffer, UINT64 eip, const UINT8 *oprom, int mode);
78
78
 
79
79
 
80
80
 
237
237
                else
238
238
                {
239
239
#ifdef PTR64
240
 
                        bytes = x86log_i386_dasm_one_ex(buffer, (FPTR)cur, cur, 64) & DASMFLAG_LENGTHMASK;
 
240
                        bytes = i386_dasm_one(buffer, (FPTR)cur, cur, 64) & DASMFLAG_LENGTHMASK;
241
241
#else
242
 
                        bytes = x86log_i386_dasm_one_ex(buffer, (FPTR)cur, cur, 32) & DASMFLAG_LENGTHMASK;
 
242
                        bytes = i386_dasm_one(buffer, (FPTR)cur, cur, 32) & DASMFLAG_LENGTHMASK;
243
243
#endif
244
244
                }
245
245
 
305
305
        log->comment_count = 0;
306
306
        log->comment_pool_next = log->comment_pool;
307
307
}
308
 
 
309
 
 
310
 
 
311
 
/***************************************************************************
312
 
    DISASSEMBLERS
313
 
***************************************************************************/
314
 
 
315
 
#define i386_dasm_one x86log_i386_dasm_one
316
 
#define i386_dasm_one_ex x86log_i386_dasm_one_ex
317
 
#include "cpu/i386/i386dasm.c"