Previous 15994 Revisions Next

r3583 Wednesday 26th November, 2008 at 17:39:43 UTC by Wilbert Pol
[Z80BIN] Fix compile errors.
[src/mess/devices]z80bin.c

src/mess/devices/z80bin.c
r3582r3583
1010#include "driver.h"
1111#include "z80bin.h"
1212#include "snapquik.h"
13#include "deprecat.h"
1314
1415
1516
r3582r3583
8485         image_seterror(image, IMAGE_ERROR_INVALIDIMAGE, message);
8586         return INIT_FAIL;
8687      }
87      program_write_byte(j, data);
88      memory_write_byte(cputag_get_address_space(Machine,"main",ADDRESS_SPACE_PROGRAM), j, data);
8889   }
8990
9091   return INIT_PASS;
r3582r3583
122123      else
123124      {
124125         if (autorun)
125            cpunum_set_reg(0, REG_PC, exec_addr);   
126            cpu_set_reg(cputag_get_cpu(Machine, "main"), REG_PC, exec_addr);   
126127      }
127128   }
128129

Previous 15994 Revisions Next


© 1998-2018 The MESS Team