Commit a7899e2e authored by hpi1's avatar hpi1

Fixed bd_set_player_setting() return value (1 on success, 0 on error)

parent 69cd50e7
......@@ -1117,7 +1117,7 @@ int bd_set_player_setting(BLURAY *bd, uint32_t idx, uint32_t value)
for (i = 0; i < sizeof(map) / sizeof(map[0]); i++) {
if (idx == map[i].idx) {
return bd_psr_setting_write(bd->regs, idx, value);
return !bd_psr_setting_write(bd->regs, idx, value);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment