Explorar el Código

placate Apple's SCSI CD-ROM extension, redux

it expects two nulls at the end of the string
Alex Perez hace 3 años
padre
commit
723589869b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)