Previous 15994 Revisions Next

r1986 Friday 14th March, 2008 at 03:50:55 UTC by Robbbert
[Z80BIN] Add machine parameter
[src/mess/devices]z80bin.c z80bin.h

src/mess/devices/z80bin.c
r1985r1986
1717#include "z80bin.h"
1818#include "snapquik.h"
1919
20UINT64 z80bin_load_file( mess_image *image, const char *file_type )
20UINT64 z80bin_load_file( running_machine *machine, mess_image *image, const char *file_type )
2121{
2222   int ch;
2323   UINT16 args[3];
r1985r1986
8282static QUICKLOAD_LOAD( z80bin )
8383{
8484   UINT16 exec_addr;
85   UINT64 return_info = z80bin_load_file( image, file_type );   /* load file */
85   UINT64 return_info = z80bin_load_file( machine, image, file_type );   /* load file */
8686   if (return_info == INIT_FAIL) return INIT_FAIL;         /* failure */
8787   exec_addr = (return_info & 0xffff0000) >> 16;         /* get program run address */
8888   if (exec_addr == 0xffff) return INIT_PASS;         /* non-executable data file */
src/mess/devices/z80bin.h
r1985r1986
1616
1717void z80bin_quickload_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info);
1818
19UINT64 z80bin_load_file( mess_image *image, const char *file_type );
19UINT64 z80bin_load_file( running_machine *machine, mess_image *image, const char *file_type );
2020
2121
2222#endif /* Z80BIN_H */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team