Diff for /np2/i386c/ia32/disasm.c between versions 1.8 and 1.11

version 1.8, 2004/07/29 13:06:08 version 1.11, 2011/01/15 17:33:32
Line 1 Line 1
 /*      $Id$    */  
   
 /*  /*
  * Copyright (c) 2004 NONAKA Kimihiro   * Copyright (c) 2004 NONAKA Kimihiro
  * All rights reserved.   * All rights reserved.
Line 12 Line 10
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. The name of the author may not be used to endorse or promote products  
  *    derived from this software without specific prior written permission.  
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR   * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES   * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
Line 641  ea(disasm_context_t *ctx) Line 637  ea(disasm_context_t *ctx)
  * get opcode   * get opcode
  */   */
 static int  static int
 op(disasm_context_t *ctx)  get_opcode(disasm_context_t *ctx)
 {  {
         const char *opcode;          const char *opcode;
         UINT8 op[3];          UINT8 op[3];
Line 804  disasm(UINT32 *eip, disasm_context_t *ct Line 800  disasm(UINT32 *eip, disasm_context_t *ct
         ctx->baseaddr = ctx->eip;          ctx->baseaddr = ctx->eip;
         ctx->pad = ' ';          ctx->pad = ' ';
   
         rv = op(ctx);          rv = get_opcode(ctx);
         if (rv) {          if (rv) {
                 memset(ctx, 0, sizeof(disasm_context_t));                  memset(ctx, 0, sizeof(disasm_context_t));
                 return rv;                  return rv;

Removed from v.1.8  
changed lines
  Added in v.1.11


RetroPC.NET-CVS <cvs@retropc.net>