From 00c50ba9b416853433afadfd0e4d8fa979f4dab3 Mon Sep 17 00:00:00 2001 From: Bobby Dilley Date: Thu, 23 Nov 2023 15:08:58 +0000 Subject: [PATCH] Remove unused --- src/lindbergh/graphics.c | 1 - src/lindbergh/hook.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/lindbergh/graphics.c b/src/lindbergh/graphics.c index bb7c369..383e5e0 100644 --- a/src/lindbergh/graphics.c +++ b/src/lindbergh/graphics.c @@ -163,7 +163,6 @@ int XNextEvent(Display *display, XEvent *event_return) { case 28: setSwitch(SYSTEM, BUTTON_TEST, event_return->type == KeyPress); - //securityBoardSetSwitch(BUTTON_TEST, 1); break; case 39: setSwitch(PLAYER_1, BUTTON_SERVICE, event_return->type == KeyPress); diff --git a/src/lindbergh/hook.c b/src/lindbergh/hook.c index 0ffba58..c9c174f 100644 --- a/src/lindbergh/hook.c +++ b/src/lindbergh/hook.c @@ -64,7 +64,6 @@ static void handleSegfault(int signal, siginfo_t *info, void *ptr) // Get the address of the instruction causing the segfault uint8_t *code = (uint8_t *)ctx->uc_mcontext.gregs[REG_EIP]; - printf("Code: 0x%08x - Port: 0x%08x\n", *code, (ctx->uc_mcontext.gregs[REG_EDX] & 0xFFFF) - basePortAddress); switch (*code) { case 0xED: