mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Little fix for platforms not moving in Wind Waker on Dolphin 32bits, see issue 1139
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3973 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1084,7 +1084,7 @@ static void EndField()
|
||||
|
||||
// Purpose 1: Send VI interrupt for every screen refresh
|
||||
// Purpose 2: Execute XFB copy in homebrew games
|
||||
// Run when: This is run 7200 times per second on full speed
|
||||
// Run when: This is run 15700 times per second on full speed
|
||||
void Update()
|
||||
{
|
||||
// Update the target refresh rate
|
||||
@ -1104,7 +1104,6 @@ void Update()
|
||||
// Multipled by two because of the way TicksPerFrame is calculated (divided by 25 and 30
|
||||
// rather than 50 and 60)
|
||||
|
||||
// TODO : Feed the FPS estimate into Iulius' framelimiter.
|
||||
ActualRefreshRate = ((double)SyncTicksProgress / (double)TicksPerFrame) * 2.0;
|
||||
LastTick = CoreTiming::GetTicks();
|
||||
SyncTicksProgress = 0;
|
||||
|
@ -287,9 +287,9 @@ void fdivx(UGeckoInstruction _inst)
|
||||
}
|
||||
void fdivsx(UGeckoInstruction _inst)
|
||||
{
|
||||
float a = (float)rPS0(_inst.FA);
|
||||
float b = (float)rPS0(_inst.FB);
|
||||
rPS0(_inst.FD) = rPS1(_inst.FD) = a / b;
|
||||
double a = rPS0(_inst.FA);
|
||||
double b = rPS0(_inst.FB);
|
||||
rPS0(_inst.FD) = rPS1(_inst.FD) = (float)(a / b);
|
||||
if (b == 0.0)
|
||||
{
|
||||
if (!FPSCR.ZX)
|
||||
|
Reference in New Issue
Block a user