fix up look sharp
This commit is contained in:
parent
fb0dbf2f33
commit
66f9ce31bc
7 changed files with 9 additions and 9 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
@ -1130,7 +1130,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "gb-emu"
|
||||
version = "0.3.1"
|
||||
version = "0.3.2"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"cpal",
|
||||
|
@ -1147,7 +1147,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "gb-emu-lib"
|
||||
version = "0.1.0"
|
||||
version = "0.3.2"
|
||||
dependencies = [
|
||||
"async-ringbuf",
|
||||
"bytemuck",
|
||||
|
@ -3022,7 +3022,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
|||
|
||||
[[package]]
|
||||
name = "vst"
|
||||
version = "0.3.0"
|
||||
version = "0.3.2"
|
||||
dependencies = [
|
||||
"async-ringbuf",
|
||||
"baseview",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "gb-emu"
|
||||
version = "0.3.1"
|
||||
version = "0.3.2"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "vst"
|
||||
version = "0.3.0"
|
||||
version = "0.3.2"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "gb-emu-lib"
|
||||
version = "0.1.0"
|
||||
version = "0.3.2"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -376,7 +376,7 @@ where
|
|||
}
|
||||
|
||||
fn parse_oam(&mut self, scanline: u8) -> Vec<Object> {
|
||||
let mut objs = vec![];
|
||||
let mut objs = vecVec::new();
|
||||
let effective_scanline = scanline + 16;
|
||||
for i in (0xFE00..0xFE9F).step_by(4) {
|
||||
let y_pos = self.oam.get(i.try_into().unwrap());
|
||||
|
|
|
@ -43,7 +43,7 @@ const NUM_WRITES_TO_FLUSH: usize = 256;
|
|||
|
||||
impl MaybeBufferedSram {
|
||||
fn new(path: Option<PathBuf>, length: usize) -> Self {
|
||||
let mut buf = vec![];
|
||||
let mut buf = vecVec::new();
|
||||
let inner = if let Some(path) = path {
|
||||
if path.exists() {
|
||||
let mut writer = OpenOptions::new()
|
||||
|
|
|
@ -107,7 +107,7 @@ pub fn scale_buffer<T: From<Colour> + Copy>(
|
|||
height: usize,
|
||||
factor: usize,
|
||||
) -> Vec<T> {
|
||||
let mut v = vec![];
|
||||
let mut v = Vec::new();
|
||||
for y in 0..height {
|
||||
for _ in 0..factor {
|
||||
for x in 0..width {
|
||||
|
|
Loading…
Add table
Reference in a new issue