Skip to content

Commit

Permalink
Minor bug fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoRiether committed Sep 11, 2021
1 parent 316e470 commit 76c25e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fpgrars"
version = "1.11.0"
version = "1.12.1"
authors = ["Leonardo Riether <[email protected]>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions src/simulator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ impl Memory {
{
// We'll write to these three sections separately
let before_video = start..VIDEO_START.min(start+len);
let in_video = VIDEO_START..VIDEO_END.min(start+len);
let after_video = VIDEO_END..start+len;
let in_video = VIDEO_START.max(start)..VIDEO_END.min(start+len);
let after_video = VIDEO_END.max(start)..start+len;

let mut bytes_read = 0;

Expand Down

0 comments on commit 76c25e9

Please sign in to comment.