Mercurial > repos > blastem
comparison m68k_util.c @ 2447:414eb8c34198
Update signature of init_m68k_opts in new core to match changes in old one
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 15 Feb 2024 21:48:22 -0800 |
parents | 8494fe8d6b65 |
children | d74d3998482c |
comparison
equal
deleted
inserted
replaced
2446:18555c44a5e7 | 2447:414eb8c34198 |
---|---|
28 { | 28 { |
29 //TODO: interrupt stuff | 29 //TODO: interrupt stuff |
30 context->sync_cycle = target_cycle; | 30 context->sync_cycle = target_cycle; |
31 } | 31 } |
32 | 32 |
33 void init_m68k_opts(m68k_options *opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider) | 33 void init_m68k_opts(m68k_options *opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider, sync_fun sync_components, int_ack_fun int_ack) |
34 { | 34 { |
35 memset(opts, 0, sizeof(*opts)); | 35 memset(opts, 0, sizeof(*opts)); |
36 opts->gen.memmap = memmap; | 36 opts->gen.memmap = memmap; |
37 opts->gen.memmap_chunks = num_chunks; | 37 opts->gen.memmap_chunks = num_chunks; |
38 opts->gen.address_mask = 0xFFFFFF; | 38 opts->gen.address_mask = 0xFFFFFF; |