mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
Add module probe support for directwrite so we can fall back cleanly.
This commit is contained in:
parent
e153edfaec
commit
4fadaa781d
@ -661,6 +661,18 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual bool probe() override
|
||||
{
|
||||
// This module is available if it can load the expected API Functions
|
||||
if (m_pfnD2D1CreateFactory.initialize() != 0
|
||||
|| m_pfnDWriteCreateFactory.initialize() != 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual int init(const osd_options &options) override
|
||||
{
|
||||
HRESULT result;
|
||||
|
Loading…
Reference in New Issue
Block a user