sdvxhook: code-format

This commit is contained in:
Will Xyen
2020-09-13 19:46:16 -07:00
parent 164d56b6eb
commit 2d1c09d4e6
9 changed files with 17 additions and 12 deletions

View File

@@ -122,9 +122,9 @@ static IDirect3D9 *STDCALL my_Direct3DCreate9(UINT sdk_ver)
log_info("Direct3DCreate9 hook hit");
api = real_Direct3DCreate9(sdk_ver);
hr = com_proxy_wrap(&api_proxy, api, sizeof(*api->lpVtbl));
if (hr != S_OK) {
log_fatal("Wrapping com proxy failed: %08lx", hr);
}

View File

@@ -122,7 +122,8 @@ static void kfca_amp_control(const struct ac_io_message *req)
// bytes 0-4: main, headphone, unused, subwoofer
if (!sdvx_io_set_amp_volume(req->cmd.raw[0], req->cmd.raw[1], req->cmd.raw[3])) {
if (!sdvx_io_set_amp_volume(
req->cmd.raw[0], req->cmd.raw[1], req->cmd.raw[3])) {
log_warning("Unable to set amp volume?");
}