mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-11-15 21:55:06 -05:00
Dynamic device string
This commit is contained in:
parent
7d8e8af290
commit
0c66478dc5
@ -19,7 +19,11 @@
|
||||
|
||||
const wchar_t *g_usb_strings[] = {
|
||||
[0] = L"raphnet technologies", // 1 : Vendor
|
||||
[1] = L"GC/N64 to USB v3.2", // 2: Product
|
||||
[1] = L"GC/N64 to USB v"VERSIONSTR_SHORT, // 2: Product
|
||||
[2] = L"123456", // 3 : Serial
|
||||
};
|
||||
|
||||
void usbstrings_changeProductString(const wchar_t *str)
|
||||
{
|
||||
g_usb_strings[1] = str;
|
||||
}
|
||||
|
@ -8,4 +8,6 @@ extern const wchar_t *g_usb_strings[];
|
||||
/* Array indexes (i.e. zero-based0 */
|
||||
#define USB_STRING_SERIAL_IDX 2
|
||||
|
||||
void usbstrings_changeProductString(const wchar_t *str);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user