File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 15
15
16
16
steps :
17
17
- uses : actions/checkout@v4
18
+ - name : Install OS dependencies (sdl2), using cache
19
+ uses : awalsh128/cache-apt-pkgs-action@latest
20
+ with :
21
+ packages : libsdl2-dev
18
22
- name : Install rust
19
23
run : rustup toolchain install stable --profile minimal
20
24
- name : Cache Rust dependencies
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ impl Cpu {
187
187
self . mem_write_u16 ( 0xFFFC , CPU_START as u16 ) ;
188
188
}
189
189
190
- pub fn load_and_run ( & mut self , program : Vec < u8 > ) {
190
+ fn load_and_run ( & mut self , program : Vec < u8 > ) {
191
191
self . load ( program) ;
192
192
self . reset ( ) ;
193
193
self . run ( ) ;
@@ -202,7 +202,7 @@ impl Cpu {
202
202
self . pc = self . mem_read_u16 ( 0xFFFC ) ;
203
203
}
204
204
205
- pub fn run ( & mut self ) {
205
+ fn run ( & mut self ) {
206
206
self . run_with_callback ( |_| { } ) ;
207
207
}
208
208
You can’t perform that action at this time.
0 commit comments