Skip to content

Commit

Permalink
jaguar: fix mistake with quickload.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbbert committed Dec 24, 2024
1 parent 1c119d6 commit 9361118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mame/atari/jaguar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1866,7 +1866,7 @@ void jaguar_state::jaguar(machine_config &config)
DAC_16BIT_R2R_TWOS_COMPLEMENT(config, m_rdac, 0).add_route(ALL_OUTPUTS, "rspeaker", 1.0); // unknown DAC

/* quickload */
QUICKLOAD(config, "quickload", "abs,bin,cof,jag,prg,rom", attotime::from_seconds(1)).set_load_callback(FUNC(jaguar_state::quickload_cb));
QUICKLOAD(config, "quickload", "abs,bin,cof,jag,prg,rom", attotime::from_seconds(2)).set_load_callback(FUNC(jaguar_state::quickload_cb));

/* cartridge */
generic_cartslot_device &cartslot(GENERIC_CARTSLOT(config, "cartslot", generic_plain_slot, "jaguar_cart", "j64"));
Expand Down Expand Up @@ -1994,8 +1994,8 @@ std::pair<std::error_condition, std::string> jaguar_state::quickload_cb(snapshot
m_shared_ram[0]=0x1000;

/* Transfer control to image */
m_maincpu->set_pc(quickload_begin);
m_shared_ram[1]=quickload_begin;
m_maincpu->set_pc(start);
m_shared_ram[1]=start;
return std::make_pair(std::error_condition(), std::string());
}

Expand Down

0 comments on commit 9361118

Please sign in to comment.