mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Better TV emulation. Seems to fix problem in 50 Hz PAL games where frames go backwards.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3811 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -496,20 +496,27 @@ void Video_BeginField(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight)
|
||||
{
|
||||
if (s_PluginInitialized)
|
||||
{
|
||||
if (g_VideoInitialize.bUseDualCore)
|
||||
s_swapResponseEvent.MsgWait();
|
||||
else
|
||||
VideoFifo_CheckSwapRequest();
|
||||
if (s_swapRequested)
|
||||
{
|
||||
if (g_VideoInitialize.bUseDualCore)
|
||||
s_swapResponseEvent.MsgWait();
|
||||
else
|
||||
VideoFifo_CheckSwapRequest();
|
||||
}
|
||||
|
||||
s_beginFieldArgs.xfbAddr = xfbAddr;
|
||||
s_beginFieldArgs.field = field;
|
||||
s_beginFieldArgs.fbWidth = fbWidth;
|
||||
s_beginFieldArgs.fbHeight = fbHeight;
|
||||
|
||||
Common::AtomicStoreRelease(s_swapRequested, TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
// Run from the CPU thread (from VideoInterface.cpp)
|
||||
void Video_EndField()
|
||||
{
|
||||
Common::AtomicStoreRelease(s_swapRequested, TRUE);
|
||||
}
|
||||
|
||||
static volatile struct
|
||||
{
|
||||
EFBAccessType type;
|
||||
|
Reference in New Issue
Block a user