mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-24 05:20:10 +01:00
dvd: move thread safety comment into header file
This commit is contained in:
parent
56a32fd80a
commit
031ccb154b
@ -46,9 +46,6 @@ void dvd_hook_init(const struct dvd_config *cfg, HINSTANCE self)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Init is not thread safe because API hook init is not thread safe blah
|
|
||||||
blah blah you know the drill by now. */
|
|
||||||
|
|
||||||
if (dvd_hook_initted) {
|
if (dvd_hook_initted) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -8,4 +8,7 @@ struct dvd_config {
|
|||||||
bool enable;
|
bool enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Init is not thread safe because API hook init is not thread safe blah
|
||||||
|
blah blah you know the drill by now. */
|
||||||
|
|
||||||
void dvd_hook_init(const struct dvd_config *cfg, HINSTANCE self);
|
void dvd_hook_init(const struct dvd_config *cfg, HINSTANCE self);
|
||||||
|
Loading…
Reference in New Issue
Block a user