mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-12-02 16:37:17 +01:00
dvd: move thread safety comment into header file
This commit is contained in:
parent
f79144edc1
commit
3a5258a9c9
@ -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