Merge pull request #5713 from Tilka/pool_edge

GameSettings: enforce real XFB for Pool Edge
This commit is contained in:
Leo Lam 2017-06-28 10:29:43 +02:00 committed by GitHub
commit 72bde53f9f
2 changed files with 6 additions and 3 deletions

View file

@ -6,7 +6,7 @@
[EmuState]
# The Emulation State. 1 is worst, 5 is best, 0 is not set.
EmulationStateId = 4
EmulationIssues =
EmulationIssues = requires real XFB to avoid flickering
[OnLoad]
# Add memory patches to be loaded once on boot here.
@ -17,3 +17,6 @@ EmulationIssues =
[ActionReplay]
# Add action replay cheats here.
[Video_Settings]
UseXFB = True
UseRealXFB = True

View file

@ -140,7 +140,7 @@ bool WiimoteLinux::ConnectInternal()
// Output channel
addr.l2_psm = htobs(WC_OUTPUT);
if (m_cmd_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP))
if ((m_cmd_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)))
{
int retry = 0;
while (connect(m_cmd_sock, (sockaddr*)&addr, sizeof(addr)) < 0)
@ -165,7 +165,7 @@ bool WiimoteLinux::ConnectInternal()
// Input channel
addr.l2_psm = htobs(WC_INPUT);
if (m_int_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP))
if ((m_int_sock = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)))
{
int retry = 0;
while (connect(m_int_sock, (sockaddr*)&addr, sizeof(addr)) < 0)