mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-09-26 00:45:24 -05:00
sdvxhook: code-format
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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?");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user