mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-27 09:36:39 +11:00
remove unused debug counter
This commit is contained in:
parent
ebfd637300
commit
dacdf51dca
1 changed files with 0 additions and 2 deletions
|
@ -105,10 +105,8 @@ pub struct InterruptClosure {
|
||||||
|
|
||||||
impl InterruptRoot {
|
impl InterruptRoot {
|
||||||
fn trigger_interrupts(&self) {
|
fn trigger_interrupts(&self) {
|
||||||
let mut count = 0;
|
|
||||||
let mut c = self.next.get();
|
let mut c = self.next.get();
|
||||||
while !c.is_null() {
|
while !c.is_null() {
|
||||||
count += 1;
|
|
||||||
let closure_ptr = unsafe { &*c }.closure;
|
let closure_ptr = unsafe { &*c }.closure;
|
||||||
let closure_ref = unsafe { &mut *closure_ptr };
|
let closure_ref = unsafe { &mut *closure_ptr };
|
||||||
closure_ref();
|
closure_ref();
|
||||||
|
|
Loading…
Add table
Reference in a new issue