Skip to content

Commit

Permalink
Fixed crash when running host-run and virtual mouse driver was not en…
Browse files Browse the repository at this point in the history
…abled
  • Loading branch information
midwan committed Jan 24, 2021
1 parent c551a64 commit 4dc3127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/osdep/amiberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,8 @@ void replace(std::string& str, const std::string& from, const std::string& to)

void target_execute(const char* command)
{
releasecapture(0);
struct AmigaMonitor* mon = &AMonitors[0];
releasecapture(mon);

write_log("Target_execute received: %s\n", command);
const std::string cmd_string = command;
Expand Down

0 comments on commit 4dc3127

Please # to comment.