Virtual Boy controller forgot signature bit 14

This commit is contained in:
bbbradsmith 2020-02-07 17:25:14 -05:00 committed by Brad Smith
parent b22753762f
commit 747fba7711
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ void UpdateVB(int w, void *data, int arg)
{ {
vbrdata[w]|=(((*(uint32 *)data)>>x)&1)<<x; vbrdata[w]|=(((*(uint32 *)data)>>x)&1)<<x;
} }
vbrdata[w]|=(1<<14); // fixed signature bit
} }
static INPUTC VirtualBoyCtrl={ReadVB,0,StrobeVB,UpdateVB,0,0}; static INPUTC VirtualBoyCtrl={ReadVB,0,StrobeVB,UpdateVB,0,0};