Skip to content

Commit ef0174a

Browse files
committed
Clean up README file.
1 parent 84d5ab6 commit ef0174a

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

README.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ This BIOS uses [pix-engine](https://crates.io/crates/pix-engine), so should run
1313
If you have a Mac, run:
1414

1515
```console
16-
$ brew install sdl2
17-
$ brew install sdl2_mixer
18-
$ brew install sdl2_image
19-
$ export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
16+
brew install sdl2
17+
brew install sdl2_mixer
18+
brew install sdl2_image
19+
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
2020
```
2121

2222
You will need to re-run the `export` command before you re-build the application.
@@ -49,17 +49,17 @@ The file `libneotron_os.so` is not supplied. You can build it with:
4949
1. Install and bootstrap [vcpkg](https://github.com/microsoft/vcpkg)
5050
2. Install the SDL2 libraries with vcpkg:
5151

52-
```console
53-
C:\Users\user\Documents\vcpkg> ./vcpkg.exe install sdl2-ttf:x64-windows sdl2:x64-windows sdl2-mixer:x64-windows sdl2-gfx:x64-windows sdl2-ttf:x64-windows sdl2-image:x64-windows
54-
```
52+
```console
53+
C:\Users\user\Documents\vcpkg> ./vcpkg.exe install sdl2-ttf:x64-windows sdl2:x64-windows sdl2-mixer:x64-windows sdl2-gfx:x64-windows sdl2-ttf:x64-windows sdl2-image:x64-windows
54+
```
5555

5656
3. Set your PATH, INCLUDE and LIB to include the directories in your vcpkg install folder:
5757

58-
```console
59-
C:\Users\user\Documents> set PATH=%PATH%;C:\Users\user\Documents\vcpkg\installed\x64-windows\bin
60-
C:\Users\user\Documents> set INCLUDE=%INCLUDE%;C:\Users\user\Documents\vcpkg\installed\x64-windows\include
61-
C:\Users\user\Documents> set LIB=%LIB%;C:\Users\user\Documents\vcpkg\installed\x64-windows\lib
62-
```
58+
```console
59+
C:\Users\user\Documents> set PATH=%PATH%;C:\Users\user\Documents\vcpkg\installed\x64-windows\bin
60+
C:\Users\user\Documents> set INCLUDE=%INCLUDE%;C:\Users\user\Documents\vcpkg\installed\x64-windows\include
61+
C:\Users\user\Documents> set LIB=%LIB%;C:\Users\user\Documents\vcpkg\installed\x64-windows\lib
62+
```
6363

6464
## Features
6565

@@ -77,20 +77,22 @@ The file `libneotron_os.so` is not supplied. You can build it with:
7777

7878
## Licence
7979

80-
Neotron-Desktop-BIOS Copyright (c) Jonathan 'theJPster' Pallant, 2022
80+
```code
81+
Neotron-Desktop-BIOS Copyright (c) Jonathan 'theJPster' Pallant, 2023
8182
82-
This program is free software: you can redistribute it and/or modify
83-
it under the terms of the GNU General Public License as published by
84-
the Free Software Foundation, either version 3 of the License, or
85-
(at your option) any later version.
83+
This program is free software: you can redistribute it and/or modify
84+
it under the terms of the GNU General Public License as published by
85+
the Free Software Foundation, either version 3 of the License, or
86+
(at your option) any later version.
8687
87-
This program is distributed in the hope that it will be useful,
88-
but WITHOUT ANY WARRANTY; without even the implied warranty of
89-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
90-
GNU General Public License for more details.
88+
This program is distributed in the hope that it will be useful,
89+
but WITHOUT ANY WARRANTY; without even the implied warranty of
90+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
91+
GNU General Public License for more details.
9192
92-
You should have received a copy of the GNU General Public License
93-
along with this program. If not, see <https://www.gnu.org/licenses/>.
93+
You should have received a copy of the GNU General Public License
94+
along with this program. If not, see <https://www.gnu.org/licenses/>.
95+
```
9496

9597
## Contribution
9698

src/main.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ impl MyApp {
15671567
}
15681568
}
15691569

1570-
impl PixEngine for MyApp {
1570+
impl PixEngine for MyApp {
15711571
/// Perform application initialisation.
15721572
fn on_start(&mut self, s: &mut PixState) -> PixResult<()> {
15731573
self.render_glyphs(s)?;
@@ -1602,9 +1602,7 @@ impl PixEngine for MyApp {
16021602
self.sender.send(AppEvent::KeyDown(*key)).unwrap();
16031603
Ok(true)
16041604
}
1605-
_ => {
1606-
Ok(false)
1607-
}
1605+
_ => Ok(false),
16081606
}
16091607
}
16101608

0 commit comments

Comments
 (0)