naomi: some digital outputs still missing for f355

Lamps use 14 bits of output in f355.
This commit is contained in:
Flyinghead 2025-01-25 17:00:48 +01:00
parent 7ef35eaf68
commit 944af44c7f
1 changed files with 3 additions and 1 deletions

View File

@ -627,7 +627,9 @@ protected:
in = (in & 0xAA) >> 1 | (in & 0x55) << 1;
out = process(in);
jvs_837_13844::write_digital_out(1, data); // The first byte is for lamps
// The rest of the bits are for lamps
u8 lamps[2] = { data[0], (u8)(data[1] & 0xfc) };
jvs_837_13844::write_digital_out(2, lamps);
}
virtual u8 process(u8 in) = 0;