Skip to content

Commit

Permalink
Zeta: Fix gpio polarity check being reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Oct 15, 2023
1 parent 759defd commit e9c1d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SurfaceDuoDualBootKernelImagePatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static byte[] PatchKernel(byte[] kernelBuffer, byte[] uefiBuffer, SurfaceDuoProd
0x04, 0xE2, 0xA1, 0xF2, // movk x4, #0xf10, lsl #16
0x85, 0x00, 0x40, 0xB9, // ldr w5, [x4]
0xA5, 0x00, 0x00, 0x12, // and w5, w5, #1
0x45, 0x00, 0x00, 0x35, // cbnz w5, #0x18
0x45, 0x00, 0x00, 0x34, // cbz w5, #0x18
0xEC, 0xFF, 0xFF, 0x17, // b #0xffffffffffffffc4
0x44, 0xFD, 0xFF, 0x10, // adr x4, #0xffffffffffffffc0
0xA5, 0xFE, 0xFF, 0x58, // ldr x5, #0xfffffffffffffff0
Expand Down

0 comments on commit e9c1d6f

Please sign in to comment.