From c81ba40fe0399868ab5c715cb4de6a638eb4bb21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Tue, 6 Jun 2023 10:06:06 +0100
Subject: [PATCH] fix: code format

---
 src/gb.rs   | 2 +-
 src/test.rs | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/gb.rs b/src/gb.rs
index aea40399..bc6936c1 100644
--- a/src/gb.rs
+++ b/src/gb.rs
@@ -14,7 +14,7 @@ use crate::{
     gen::{COMPILATION_DATE, COMPILATION_TIME, COMPILER, COMPILER_VERSION, VERSION},
     mmu::Mmu,
     pad::{Pad, PadKey},
-    ppu::{Ppu, PpuMode, Tile, FRAME_BUFFER_SIZE, DISPLAY_WIDTH, DISPLAY_HEIGHT},
+    ppu::{Ppu, PpuMode, Tile, DISPLAY_HEIGHT, DISPLAY_WIDTH, FRAME_BUFFER_SIZE},
     rom::{Cartridge, RamSize},
     serial::{NullDevice, Serial, SerialDevice},
     timer::Timer,
diff --git a/src/test.rs b/src/test.rs
index 79badb6b..c9e03698 100644
--- a/src/test.rs
+++ b/src/test.rs
@@ -42,7 +42,11 @@ pub fn run_serial_test(rom_path: &str, max_cycles: Option<u64>, options: TestOpt
     game_boy.serial().device().state()
 }
 
-pub fn run_image_test(rom_path: &str, max_cycles: Option<u64>, options: TestOptions) -> [u8; FRAME_BUFFER_SIZE] {
+pub fn run_image_test(
+    rom_path: &str,
+    max_cycles: Option<u64>,
+    options: TestOptions,
+) -> [u8; FRAME_BUFFER_SIZE] {
     let mut game_boy = run_test(rom_path, max_cycles, options);
     *game_boy.frame_buffer()
 }
-- 
GitLab