1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-11-12 04:40:46 +01:00

Style fixes

This commit is contained in:
5d3b9130281102eb36519ddd0a2c6868ff061a3b 2019-12-29 22:20:54 -04:00
parent 180dc3378a
commit 16094c0720
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,8 @@
#include "platform/config.h"
#include "platform/platform.h"
void slider_config_load(struct slider_config *cfg, const wchar_t *filename) {
void slider_config_load(struct slider_config *cfg, const wchar_t *filename)
{
assert(cfg != NULL);
assert(filename != NULL);

View File

@ -41,6 +41,7 @@ static uint8_t slider_readable_bytes[520];
HRESULT slider_hook_init(const struct slider_config *cfg)
{
assert(cfg != NULL);
if (!cfg->enable) {
return S_FALSE;
}
@ -162,7 +163,7 @@ static HRESULT slider_req_nop(uint8_t cmd)
{
struct slider_hdr resp;
dprintf("Diva slider: No-op cmd 0x%02x\n", cmd);
dprintf("Diva slider: No-op cmd 0x%#02x\n", cmd);
resp.sync = SLIDER_FRAME_SYNC;
resp.cmd = cmd;