1
0
mirror of synced 2025-02-25 21:38:09 +01:00

Remove unused

This commit is contained in:
Bobby Dilley 2023-11-23 15:08:58 +00:00
parent fcc0e040f2
commit 00c50ba9b4
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

@ -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: