File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 22Softsquirrels really cool and super-duper efficient CHIP-8 implentation for Windows.
33
44## Usage
5- 1 . Download.
6- 2 . Run ` .\sschip8 <PATH TO .ch8 FILE> ` in cmd
5+ 1 . [ Download] ( https://github.com/Squirrelcoding/sschip8/releases/ ) .
6+ 2 . Run ` .\sschip8 <PATH TO .ch8 FILE> ` in cmd or Powershell
7+
8+ ## v1.0.1
9+ - fixed a bug.
710
811### Differences between other implementations
912- There ~~ may~~ will be a lot of bugs
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ impl CPU {
1414
1515 #[ cfg( not( feature = "show_commands" ) ) ]
1616 pub fn update ( & mut self ) {
17- print ! ( "{esc} [2J{esc} [1;1H" , esc = 27 as char ) ;
17+ print ! ( "\x1B [2J\x1B [1;1H" ) ;
1818 for ( i, item) in self . buf . iter_mut ( ) . enumerate ( ) {
1919 if i != 0 && ( i - 1 ) % ( WIDTH as usize ) == 0 {
2020 println ! ( ) ;
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ fn main() {
1818 let mut cpu = lib:: cpu:: CPU :: new_with_memory ( & bytes) ;
1919
2020 cpu. run ( ) ;
21- }
21+ }
You can’t perform that action at this time.
0 commit comments