Pārlūkot izejas kodu

placate Apple's SCSI CD-ROM extension, redux

it expects two nulls at the end of the string
Alex Perez 3 gadi atpakaļ
vecāks
revīzija
723589869b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/SCSI2SD/src/firmware/mode.c

+ 1 - 1
lib/SCSI2SD/src/firmware/mode.c

@@ -243,7 +243,7 @@ static const uint8_t AppleVendorPage[] =
 0x30, // Page code
 28, // Page length
 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
-'A','P','P','L','E',' ','C','O','M','P','U','T','E','R',',',' ','I','N','C',' ',' ',' '
+'A','P','P','L','E',' ','C','O','M','P','U','T','E','R',',',' ','I','N','C',' ',' ',' ',0x00,0x00
 };
 
 static void pageIn(int pc, int dataIdx, const uint8_t* pageData, int pageLen)