mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-08 14:25:05 +00:00
Merge pull request #896 from TomHarte/FastLoadUponInsert
Ensure CPC and Spectrum update fast-tape flag upon media insertion.
This commit is contained in:
@@ -1088,6 +1088,7 @@ template <bool has_fdc> class ConcreteMachine:
|
|||||||
// If there are any tapes supplied, use the first of them.
|
// If there are any tapes supplied, use the first of them.
|
||||||
if(!media.tapes.empty()) {
|
if(!media.tapes.empty()) {
|
||||||
tape_player_.set_tape(media.tapes.front());
|
tape_player_.set_tape(media.tapes.front());
|
||||||
|
set_use_fast_tape_hack();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Insert up to four disks.
|
// Insert up to four disks.
|
||||||
|
@@ -432,6 +432,7 @@ template<Model model> class ConcreteMachine:
|
|||||||
// If there are any tapes supplied, use the first of them.
|
// If there are any tapes supplied, use the first of them.
|
||||||
if(!media.tapes.empty()) {
|
if(!media.tapes.empty()) {
|
||||||
tape_player_.set_tape(media.tapes.front());
|
tape_player_.set_tape(media.tapes.front());
|
||||||
|
set_use_fast_tape();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Insert up to four disks.
|
// Insert up to four disks.
|
||||||
|
Reference in New Issue
Block a user