| # | Line 254 | Line 254 | bool DDrPatch_Init() | |
|---|---|---|
| 254 | ||
| 255 | if(patch_chinese) | |
| 256 | { | |
| 257 | + | DDrStartupMessage("Loading chinese DLL"); |
| 258 | HMODULE dll = LoadLibrary("xfhsm_oni.dll"); | |
| 259 | + | DWORD err = GetLastError(); |
| 260 | + | DDrStartupMessage(" - Module loading returned error %i", err); |
| 261 | if( dll ) | |
| 262 | { | |
| 263 | void* proc = GetProcAddress( dll, "InstallHook" ); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |