mirror of
https://github.com/cathery/sys-con.git
synced 2024-12-24 15:13:45 +00:00
Add version check on init
This commit is contained in:
parent
eb0be90be0
commit
ddee5ae15b
@ -49,9 +49,12 @@ extern "C"
|
||||
if (R_FAILED(rc))
|
||||
fatalThrow(rc);
|
||||
|
||||
rc = hiddbgAttachHdlsWorkBuffer();
|
||||
if (R_FAILED(rc))
|
||||
fatalThrow(rc);
|
||||
if (hosversionAtLeast(7, 0, 0))
|
||||
{
|
||||
rc = hiddbgAttachHdlsWorkBuffer();
|
||||
if (R_FAILED(rc))
|
||||
fatalThrow(rc);
|
||||
}
|
||||
|
||||
rc = usbHsInitialize();
|
||||
if (R_FAILED(rc))
|
||||
|
Loading…
Reference in New Issue
Block a user