We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbbb66b commit 0179ecdCopy full SHA for 0179ecd
src/reading_loop.rs
@@ -23,6 +23,10 @@ pub fn process_gameplay(
23
24
values.prev_playtime = values.playtime;
25
26
+ if ruleset_addr == 0 {
27
+ return Ok(())
28
+ };
29
+
30
let gameplay_base =
31
p.read_i32((ruleset_addr + 0x68) as usize)? as usize;
32
@@ -299,6 +303,7 @@ pub fn process_reading_loop(
299
303
}
300
304
301
305
values.update_stars_and_ss_pp();
306
+ values.update_current_pp(&mut state.ivalues);
302
307
308
309
let ruleset_addr = p.read_i32(
@@ -342,8 +347,8 @@ pub fn process_reading_loop(
342
347
ruleset_addr
343
348
);
344
349
345
- if res.is_err() {
346
- println!("{:?}", res);
350
+ if let Err(e) = res {
351
+ println!("{:?}", e);
352
println!("Skipped gameplay reading, probably it's not ready yet");
353
354
0 commit comments