GDRIVER bugfix. Thanks to David.
parent
28a2d8ca79
commit
9a410b29e3
|
@ -53,10 +53,12 @@ GDriver *gdriverRegister(const GDriverVMT *vmt, void *param) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add it to the driver chain
|
// Add it to the driver chain
|
||||||
if (dhead)
|
if (dhead) {
|
||||||
dtail->driverchain = pd;
|
dtail->driverchain = pd;
|
||||||
else
|
dtail = pd;
|
||||||
|
} else {
|
||||||
dhead = dtail = pd;
|
dhead = dtail = pd;
|
||||||
|
}
|
||||||
|
|
||||||
// Do the post init
|
// Do the post init
|
||||||
if (vmt->postinit)
|
if (vmt->postinit)
|
||||||
|
|
Loading…
Reference in New Issue