Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
xmil-libretro
Commits
b1bb9535
Commit
b1bb9535
authored
Nov 16, 2016
by
yui
Browse files
No commit message
No commit message
parent
db002503
Changes
4
Hide whitespace changes
Inline
Side-by-side
WORK_01/sdl2/ext/externalchipmanager.cpp
View file @
b1bb9535
...
...
@@ -60,7 +60,7 @@ IExternalChip* CExternalChipManager::GetInterface(IExternalChip::ChipType nChipT
switch
(
nChipType
)
{
case
IExternalChip
::
kAY8910
:
pChip
=
GetInterface
(
IExternalChip
::
kYM2203
,
nClock
);
pChip
=
GetInterface
(
IExternalChip
::
kYM2203
,
nClock
*
2
);
break
;
case
IExternalChip
::
kYM2203
:
...
...
WORK_01/sdl2/ext/psg.cpp
View file @
b1bb9535
...
...
@@ -90,7 +90,7 @@ void psg_bind(PPSG psg)
CExternalPsg
*
pExt
=
reinterpret_cast
<
CExternalPsg
*>
(
psg
->
userdata
);
if
(
pExt
==
NULL
)
{
pExt
=
static_cast
<
CExternalPsg
*>
(
CExternalChipManager
::
GetInstance
()
->
GetInterface
(
IExternalChip
::
kAY8910
,
4
000000
));
pExt
=
static_cast
<
CExternalPsg
*>
(
CExternalChipManager
::
GetInstance
()
->
GetInterface
(
IExternalChip
::
kAY8910
,
2
000000
));
psg
->
userdata
=
reinterpret_cast
<
INTPTR
>
(
pExt
);
}
if
(
pExt
)
...
...
WORK_01/win9x/ext/externalchipmanager.cpp
View file @
b1bb9535
...
...
@@ -61,7 +61,7 @@ IExternalChip* CExternalChipManager::GetInterface(IExternalChip::ChipType nChipT
switch
(
nChipType
)
{
case
IExternalChip
::
kAY8910
:
pChip
=
GetInterface
(
IExternalChip
::
kYM2203
,
nClock
);
pChip
=
GetInterface
(
IExternalChip
::
kYM2203
,
nClock
*
2
);
break
;
case
IExternalChip
::
kYM2203
:
...
...
WORK_01/win9x/ext/psg.cpp
View file @
b1bb9535
...
...
@@ -90,7 +90,7 @@ void psg_bind(PPSG psg)
CExternalPsg
*
pExt
=
reinterpret_cast
<
CExternalPsg
*>
(
psg
->
userdata
);
if
(
pExt
==
NULL
)
{
pExt
=
static_cast
<
CExternalPsg
*>
(
CExternalChipManager
::
GetInstance
()
->
GetInterface
(
IExternalChip
::
kAY8910
,
4
000000
));
pExt
=
static_cast
<
CExternalPsg
*>
(
CExternalChipManager
::
GetInstance
()
->
GetInterface
(
IExternalChip
::
kAY8910
,
2
000000
));
psg
->
userdata
=
reinterpret_cast
<
INTPTR
>
(
pExt
);
}
if
(
pExt
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment