My first commit :)

Fixed more memory leaks when doing state load. Now all file devices(handles) are stored in state, and this will fix some crash after loading state.

Warning: Do NOT Save/Load state before game title is shown and controllable, or else you will get a corrupt state.

If you encounter "Emu WiiMote Desync" frequently, please report the condition
(PS: To recover from wiimote desync, just load a saved state)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4608 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
ayuanx
2009-11-24 17:10:38 +00:00
parent 6a46befc2a
commit 29774c35e8
9 changed files with 239 additions and 75 deletions

View File

@ -64,7 +64,7 @@ void TiltTest(u8 x, u8 y, u8 z)
/* Angles adjustment for the upside down state when both roll and pitch is
used. When the absolute values of the angles go over 90<EFBFBD> the Wiimote is
used. When the absolute values of the angles go over 90 the Wiimote is
upside down and these adjustments are needed. */
void AdjustAngles(float &Roll, float &Pitch)
{