mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Don't seem to move near disk folder if not loading.
This commit is contained in:
parent
ff78e4172d
commit
3110041a06
@ -261,15 +261,18 @@ class ConcreteMachine:
|
|||||||
// Wait a further second, mouse down to (32, 240), left click.
|
// Wait a further second, mouse down to (32, 240), left click.
|
||||||
// That'll trigger disk access. Then move up to the top left,
|
// That'll trigger disk access. Then move up to the top left,
|
||||||
// in anticipation of the appearance of a window.
|
// in anticipation of the appearance of a window.
|
||||||
CursorActionBuilder(cursor_actions_)
|
auto &builder = CursorActionBuilder(cursor_actions_)
|
||||||
// .wait(5 * 24'000'000)
|
|
||||||
.move_to(IconBarDriveX, IconBarY)
|
.move_to(IconBarDriveX, IconBarY)
|
||||||
.click(0)
|
.click(0);
|
||||||
.set_phase(
|
|
||||||
target_program_.empty() ? AutoloadPhase::Ended : AutoloadPhase::WaitingForDiskContents
|
if(target_program_.empty()) {
|
||||||
)
|
builder.set_phase(AutoloadPhase::Ended);
|
||||||
.move_to(IconBarDriveX, 36); // Just a guess of 'close' to where the program to launch
|
} else {
|
||||||
// will probably be, to have the cursor already nearby.
|
builder
|
||||||
|
.set_phase(AutoloadPhase::WaitingForDiskContents)
|
||||||
|
.move_to(IconBarDriveX, 80); // Just a guess of 'close' to where the program to launch
|
||||||
|
// will probably be, to have the cursor broadly nearby.
|
||||||
|
}
|
||||||
|
|
||||||
autoload_phase_ = AutoloadPhase::OpeningDisk;
|
autoload_phase_ = AutoloadPhase::OpeningDisk;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user