From 9143123cc8dd0ce33cdc6952a6781dee31e1a16d Mon Sep 17 00:00:00 2001 From: cronyx Date: Tue, 7 Nov 2023 14:09:16 +0300 Subject: [PATCH] fix --- src/hal/ingenic.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/hal/ingenic.c b/src/hal/ingenic.c index 5cc8705..3fdda1e 100644 --- a/src/hal/ingenic.c +++ b/src/hal/ingenic.c @@ -176,21 +176,21 @@ static int get_cpu_id() { if (!mem_reg(0x13540250, &subsoctypet41, OP_READ)) return -1; switch (HIWORD(subsoctypet41)) { - case 0x33331111: + case 0x3333: return 28; - case 0x55551111: + case 0x5555: return 29; - case 0x88881111: + case 0x8888: return 30; - case 0x99991111: + case 0x9999: return 31; - case 0x11112222: + case 0x1111: return 32; - case 0x77772222: + case 0x7777: return 33; - case 0xAAAA2222: + case 0xAAAA: return 34; - case 0x66662222: + case 0x6666: return 35; default: return -1;