jedi: default nvram for precalibrated joy
This commit is contained in:
parent
3600140fe8
commit
647b681788
|
@ -366,6 +366,12 @@ static INT32 MemIndex()
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void nvram_defaults()
|
||||
{
|
||||
memset(DrvNVRAM, 0, 0x100);
|
||||
memcpy(DrvNVRAM + 0x58, "\xfd\x01\xfd\x05\x02\x00\xfc", 7);
|
||||
}
|
||||
|
||||
static INT32 DrvInit()
|
||||
{
|
||||
AllMem = NULL;
|
||||
|
@ -436,6 +442,8 @@ static INT32 DrvInit()
|
|||
|
||||
GenericTilesInit();
|
||||
|
||||
nvram_defaults();
|
||||
|
||||
DrvDoReset(1);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue