mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
small code cleanup: rename "dual core" stuff to CPUThread, bOnThread, etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4455 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d538a09942
commit
ac157105c5
19 changed files with 144 additions and 148 deletions
|
@ -511,9 +511,8 @@ void Video_BeginField(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight)
|
|||
if (s_PluginInitialized)
|
||||
{
|
||||
// Make sure previous swap request has made it to the screen
|
||||
if (g_VideoInitialize.bUseDualCore)
|
||||
if (g_VideoInitialize.bOnThread)
|
||||
{
|
||||
|
||||
while (Common::AtomicLoadAcquire(s_swapRequested))
|
||||
Common::YieldCPU();
|
||||
}
|
||||
|
@ -565,7 +564,7 @@ u32 Video_AccessEFB(EFBAccessType type, u32 x, u32 y)
|
|||
|
||||
Common::AtomicStoreRelease(s_efbAccessRequested, TRUE);
|
||||
|
||||
if (g_VideoInitialize.bUseDualCore)
|
||||
if (g_VideoInitialize.bOnThread)
|
||||
{
|
||||
while (Common::AtomicLoadAcquire(s_efbAccessRequested))
|
||||
Common::YieldCPU();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue