mirror of
https://github.com/libretro/xmil-libretro.git
synced 2024-11-26 18:00:39 +00:00
opm: initializer
refs #164 svn merge -r 368:374 https://amethyst.yui.ne.jp/svn-dev/x1/xmil/branches/yui/WORK_01
This commit is contained in:
parent
65b45e7cd2
commit
8c5f889fe2
@ -36,7 +36,8 @@ void opm_reset(POPM opm, REG8 cCaps)
|
||||
{
|
||||
memset(&opm->s, 0, sizeof(opm->s));
|
||||
opm->s.cCaps = cCaps;
|
||||
memset(&opm->s.reg[0x20], 0xff, 0xe0);
|
||||
memset(&opm->s.reg[0x20], 0xc0, 0x08);
|
||||
memset(&opm->s.reg[0x40], 0xff, 0xc0);
|
||||
|
||||
opmgen_reset(&opm->opmgen);
|
||||
}
|
||||
|
@ -42,7 +42,8 @@ void opm_reset(POPM opm, REG8 cCaps)
|
||||
{
|
||||
memset(&opm->s, 0, sizeof(opm->s));
|
||||
opm->s.cCaps = cCaps;
|
||||
memset(&opm->s.reg[0x20], 0xff, 0xe0);
|
||||
memset(&opm->s.reg[0x20], 0xc0, 0x08);
|
||||
memset(&opm->s.reg[0x40], 0xff, 0xc0);
|
||||
|
||||
opmgen_reset(&opm->opmgen);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user