mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-27 22:40:48 +01:00
Fix format warnings for HRESULT
This commit is contained in:
parent
e4999005cb
commit
9cd231f2eb
@ -51,7 +51,7 @@ HRESULT aime_dll_init(const struct aime_dll_config *cfg, HINSTANCE self)
|
|||||||
|
|
||||||
if (owned == NULL) {
|
if (owned == NULL) {
|
||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||||
dprintf("NFC Assembly: Failed to load IO DLL: %x: %S\n",
|
dprintf("NFC Assembly: Failed to load IO DLL: %lx: %S\n",
|
||||||
hr,
|
hr,
|
||||||
cfg->path);
|
cfg->path);
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ HRESULT chuni_dll_init(const struct chuni_dll_config *cfg, HINSTANCE self)
|
|||||||
|
|
||||||
if (owned == NULL) {
|
if (owned == NULL) {
|
||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||||
dprintf("Chunithm IO: Failed to load IO DLL: %x: %S\n",
|
dprintf("Chunithm IO: Failed to load IO DLL: %lx: %S\n",
|
||||||
hr,
|
hr,
|
||||||
cfg->path);
|
cfg->path);
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ HRESULT diva_dll_init(const struct diva_dll_config *cfg, HINSTANCE self)
|
|||||||
|
|
||||||
if (owned == NULL) {
|
if (owned == NULL) {
|
||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||||
dprintf("Diva IO: Failed to load IO DLL: %x: %S\n",
|
dprintf("Diva IO: Failed to load IO DLL: %lx: %S\n",
|
||||||
hr,
|
hr,
|
||||||
cfg->path);
|
cfg->path);
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ HRESULT idz_dll_init(const struct idz_dll_config *cfg, HINSTANCE self)
|
|||||||
|
|
||||||
if (owned == NULL) {
|
if (owned == NULL) {
|
||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||||
dprintf("IDZ IO: Failed to load IO DLL: %x: %S\n",
|
dprintf("IDZ IO: Failed to load IO DLL: %lx: %S\n",
|
||||||
hr,
|
hr,
|
||||||
cfg->path);
|
cfg->path);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ HRESULT idz_io_jvs_init(void)
|
|||||||
|
|
||||||
if (inst == NULL) {
|
if (inst == NULL) {
|
||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||||
dprintf("GetModuleHandleW failed: %x\n", hr);
|
dprintf("GetModuleHandleW failed: %lx\n", hr);
|
||||||
|
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ HRESULT mu3_dll_init(const struct mu3_dll_config *cfg, HINSTANCE self)
|
|||||||
|
|
||||||
if (owned == NULL) {
|
if (owned == NULL) {
|
||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||||
dprintf("Ongeki IO: Failed to load IO DLL: %x: %S\n",
|
dprintf("Ongeki IO: Failed to load IO DLL: %lx: %S\n",
|
||||||
hr,
|
hr,
|
||||||
cfg->path);
|
cfg->path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user