filename | src/bootstrap.c |
changeset | 736:a02d1475ccfd |
prev | 561:533f6b478071 |
next | 1095:a8b798030464 |
author | nkeynes |
date | Mon Jul 28 00:27:32 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Add -headerpad_max_install_names linker flag for OS/X builds - ensures bundle build doesn't run out of space for name changes |
file | annotate | diff | log | raw |
1.1 --- a/src/bootstrap.c Tue Jan 01 05:08:38 2008 +00001.2 +++ b/src/bootstrap.c Mon Jul 28 00:27:32 2008 +00001.3 @@ -58,20 +58,20 @@1.6 static char *dc_peripherals[] = { "Uses WinCE", "Unknown (0x0000002)",1.7 - "Unknown (0x0000004)", "Unknown (0x0000008)",1.8 - "VGA Box", "Unknown (0x0000020)",1.9 - "Unknown (0x0000040)", "Unknown (0x0000080)",1.10 - "Other Expansions", "Puru Puru pack",1.11 - "Mike", "Memory card",1.12 - "Basic controller", "C button",1.13 - "D button", "X button",1.14 - "Y button", "Z button",1.15 - "Expanded direction buttons",1.16 - "Analog R trigger", "Analog L trigger",1.17 - "Analog horizontal", "Analog vertical",1.18 - "Expanded analog horizontal",1.19 - "Expanded analog vertical",1.20 - "Gun", "Keyboard", "Mouse" };1.21 + "Unknown (0x0000004)", "Unknown (0x0000008)",1.22 + "VGA Box", "Unknown (0x0000020)",1.23 + "Unknown (0x0000040)", "Unknown (0x0000080)",1.24 + "Other Expansions", "Puru Puru pack",1.25 + "Mike", "Memory card",1.26 + "Basic controller", "C button",1.27 + "D button", "X button",1.28 + "Y button", "Z button",1.29 + "Expanded direction buttons",1.30 + "Analog R trigger", "Analog L trigger",1.31 + "Analog horizontal", "Analog vertical",1.32 + "Expanded analog horizontal",1.33 + "Expanded analog vertical",1.34 + "Gun", "Keyboard", "Mouse" };1.37 /* Expansion units */1.38 @@ -128,30 +128,30 @@1.39 INFO( " Product ID: %-10.10s Product Ver: %-6.6s Date: %-8.8s",1.40 head->product_id, head->product_ver, head->product_date );1.41 if( detail ) {1.42 - INFO( " Header CRC: %04X (Computed %04X)", hcrc, crc );1.43 - INFO( " Boot File: %-16.16s", head->boot_file );1.44 - INFO( " Disc ID: %-11.11s Regions: %-8.8s Peripherals: %07X",1.45 - head->gdrom_id, head->regions, periph );1.46 - strcpy( buf, " Supports: " );1.47 - got = 0;1.48 - for( i=0; i<28; i++ ) {1.49 - if( periph & (1<<i) ){1.50 - if( got ) strcat( buf, ", " );1.51 - strcat( buf, dc_peripherals[i] );1.52 - got = 1;1.53 - }1.54 - if( i == 11 ) i = 23; /* Skip 8-23 */1.55 - }1.56 - INFO( buf, NULL );1.57 - strcpy( buf, " Requires: " );1.58 - got = 0;1.59 - for( i=12; i<24; i++ ) {1.60 - if( periph & (1<<i) ) {1.61 - if( got ) strcat( buf, ", " );1.62 - strcat( buf, dc_peripherals[i] );1.63 - got = 1;1.64 - }1.65 - }1.66 - INFO( buf, NULL );1.67 + INFO( " Header CRC: %04X (Computed %04X)", hcrc, crc );1.68 + INFO( " Boot File: %-16.16s", head->boot_file );1.69 + INFO( " Disc ID: %-11.11s Regions: %-8.8s Peripherals: %07X",1.70 + head->gdrom_id, head->regions, periph );1.71 + strcpy( buf, " Supports: " );1.72 + got = 0;1.73 + for( i=0; i<28; i++ ) {1.74 + if( periph & (1<<i) ){1.75 + if( got ) strcat( buf, ", " );1.76 + strcat( buf, dc_peripherals[i] );1.77 + got = 1;1.78 + }1.79 + if( i == 11 ) i = 23; /* Skip 8-23 */1.80 + }1.81 + INFO( buf, NULL );1.82 + strcpy( buf, " Requires: " );1.83 + got = 0;1.84 + for( i=12; i<24; i++ ) {1.85 + if( periph & (1<<i) ) {1.86 + if( got ) strcat( buf, ", " );1.87 + strcat( buf, dc_peripherals[i] );1.88 + got = 1;1.89 + }1.90 + }1.91 + INFO( buf, NULL );1.92 }1.93 }
.