comparison blastem.c @ 659:759c38bf97f8

Minor Z80 core cleanup
author Michael Pavone <pavone@retrodev.com>
date Thu, 01 Jan 2015 20:26:22 -0800
parents f822d9216968
children e7cae6d9aaa6
comparison
equal deleted inserted replaced
658:6aa29ac33f1a 659:759c38bf97f8
1350 psg_init(&p_context, render_sample_rate(), gen.master_clock, MCLKS_PER_PSG, render_audio_buffer()); 1350 psg_init(&p_context, render_sample_rate(), gen.master_clock, MCLKS_PER_PSG, render_audio_buffer());
1351 1351
1352 z80_context z_context; 1352 z80_context z_context;
1353 #ifndef NO_Z80 1353 #ifndef NO_Z80
1354 z80_options z_opts; 1354 z80_options z_opts;
1355 init_x86_z80_opts(&z_opts, z80_map, 5); 1355 init_z80_opts(&z_opts, z80_map, 5);
1356 init_z80_context(&z_context, &z_opts); 1356 init_z80_context(&z_context, &z_opts);
1357 #endif 1357 #endif
1358 1358
1359 z_context.system = &gen; 1359 z_context.system = &gen;
1360 z_context.mem_pointers[0] = z80_ram; 1360 z_context.mem_pointers[0] = z80_ram;