Commit Graph

7982 Commits

Author SHA1 Message Date
Matthew Parlane 14ea442382 srawx fixed thanks to boo toe. 2012-03-20 19:51:42 +13:00
skidau 281d7531a3 Fixed a crash on exit by calling DefWindowProc after the WM_DESTORY message has been received. Patch by eddie.willett.
Fixes issue 4588.
Fixes issue 5285.
2012-03-19 21:51:26 +11:00
Matthew Parlane 418f46ea72 Fixed memory leak. And added braces to match the rest of the switch statement in FileIO. 2012-03-19 18:08:16 +13:00
Andrew de los Reyes d6d52920ec Fix segfault in LogWindow on Mac
Commit 9ddb67d4a9 seems to have
introduced a segfault on Mac. The issue is that it this change casts
wxConvCurrent (which is a wxMBConvLibc) to a wxCSConv. This is an
unsafe cast because wxCSConv has member variables, but wxMBConvLibc
does not.

In LogWindow.cpp, the constructor for m_SJISConv is dereferencing one
of those member variables, which is a dereference of uninitialized
memory!

This CL reverts to the older (non-crashing) constructor, but keeps the
behavior the same.
2012-03-18 15:11:34 -07:00
Andrew de los Reyes ed3f9ce288 Switch Mac compiler to Clang.
Specifically:

- Look for clang and clang++ in the new (Xcode 4.3) location first,
  then the old (Xcode 4.2) location.

- Look for sysroot in the new (Xcode 4.3) location first, then the old
  (Xcode 4.2) location.
2012-03-18 15:11:31 -07:00
Matthew Parlane 8479d5bdf7 Some code clean up. I am terrible at coding styles... 2012-03-18 21:50:07 +13:00
Matthew Parlane 6fe495e1aa Fixed Pokepark 2! Maybe... :D Don't trust save states, although I think they are correct. File fd's were too large. Let me know if file related loading stops working in some games. fds are many to 1, not 1 to 1. ES has two instances available at a time. Sadly a clean up requires changing IWII_IPC_HLE_Device Constructor, as a deviceID doesn't make much sense per device. I won't do this until we have less branches :| 2012-03-18 21:00:23 +13:00
skidau 0ed8af2287 Forced reload of the native Gecko Code handler if the game overwrites it.
Fixes issue 5225.
2012-03-13 23:41:40 +11:00
Matthew Parlane b37c468039 Fixes issue 5269
Sorry guys but I needed to disable stfs so that Pokepark 2 would not freeze(?). Feel free to put some effort in to finding out why, I do not understand Jit sorry.
2012-03-13 23:42:30 +13:00
skidau bf76b802a7 Fixed the in-built Dolphin profiler. 2012-03-10 16:24:13 +11:00
Glenn Rice 1680c6849f Merge branch 'translation-update' 2012-03-09 17:47:28 -06:00
Glenn Rice a7d142bed9 Rebase in preparation for merge. 2012-03-09 17:46:58 -06:00
Glenn Rice 1b1016ece7 Update the pot file to reflect recent changes in the code. 2012-03-09 17:46:38 -06:00
Glenn Rice d73f4d8240 Update Korean translations. 2012-03-09 17:46:35 -06:00
Glenn Rice 5c66c5b138 Update Hungarian translation. 2012-03-09 17:46:33 -06:00
Glenn Rice 685d02c0a6 Clean up Turkish translation file. 2012-03-09 17:46:30 -06:00
Glenn Rice 7306257c0f Update from master branch.
Update Arabic, Hungarian, and Spanish translations.
2012-03-09 17:46:28 -06:00
Glenn Rice 6961c2e553 Update Hungarian and Turkish translations. 2012-03-09 17:46:26 -06:00
Glenn Rice 1880eb8e9f Update Czeck translation. 2012-03-09 17:46:24 -06:00
Pascal Jouy 3e8ca14e96 Update french translation. 2012-03-09 17:46:22 -06:00
Glenn Rice 510450999d Update Arabic and Japanese translations. 2012-03-09 17:46:20 -06:00
Glenn Rice 6fef0b9a8f Updated Spanish translation 2012-03-09 17:46:18 -06:00
Glenn Rice 5f21e0150b The actual update of the Greek and Czech translations. The last commit
was a partial reversion by accident.
2012-03-09 17:46:16 -06:00
Glenn Rice 828205df22 Update Greek and Czech translations 2012-03-09 17:46:14 -06:00
Glenn Rice 61d5624c2d Update translation files for recent changes in the code. 2012-03-09 17:46:09 -06:00
Pierre Bourdon b69a1d225a Use -std=gnu++0x instead of -std=c++0x
Bluez uses the non standard "typeof" instead of "__typeof__" in bluetooth.h.
Both GCC and Clang reject that with std=c++0x but accept it with gnu++0x.
2012-03-08 10:01:40 +01:00
Pierre Bourdon 63176ba38d Revert "Updated English translation, fixes issue 5214."
This reverts commit cbab832907.

As glennricster said in the comments, the modification should not be done in
that way.
2012-03-08 10:00:40 +01:00
LPFaint99 6fc8cdf12d revert r90a2096a24f4 behavior changes in PixelEngine.cpp. Thanks to Autoran1 for finding the responsible commit. Fixes Scrubbing Serena Beach Countdown in both SC and DC.
Fixes issue 1498.
2012-03-07 20:08:14 -08:00
NeoBrainX 09217a6c47 Update PokePark Wii game ini. Needs to have texture cache accuracy set to mid setting. 2012-03-06 21:38:33 +01:00
Matthew Parlane 880992b10f Fixed DoState and removed unneeded class variable. 2012-03-07 00:22:55 +13:00
Matthew Parlane 53d2d9718f Fixes issue 2917 and possibly others like 5232 2012-03-06 23:32:13 +13:00
Matthew Parlane e8e2c241d7 delroth pointed out that it should be "starts with" not "contains". Unlikely this has ever affected anyone.... 2012-03-06 23:31:59 +13:00
Matthew Parlane 614c43029f fixed files so they can have more than one handle opened at a time. 2012-03-06 23:31:48 +13:00
Henrik Rydgard f5d4fe0bfe Fix some minor bugs pointed out by PVS Studio (thanks!) 2012-03-03 20:07:20 +01:00
Jordan Woyak ee09def802 Merge branch 'cpp11' 2012-02-28 00:28:13 -06:00
Jordan Woyak 38823b6371 Add comment here so people know what's up. 2012-02-28 00:27:16 -06:00
NeoBrainX c3293b1a1c Improvement to revision b8bef29bcc .. :P 2012-02-25 10:59:00 +01:00
skidau b8bef29bcc Fixed a divide by zero error in the hash functions 2012-02-25 20:36:49 +11:00
Jordan Woyak f92d1e1e93 fix some clang compilation errors 2012-02-24 14:25:02 -06:00
Jordan Woyak 8a8dc77ef1 enable c++11 compilation in cmakelists 2012-02-24 14:19:24 -06:00
Jordan Woyak f15aeb26b3 Use an auto typed variable in IniFile.cpp 2012-02-24 19:20:17 -06:00
NeoBrainX b251880d8b GameConfig: Remove an empty file 2012-02-24 17:31:17 +01:00
NeoBrainX 3a9fed0ba2 PixelShaderGen: Fix a bug introduced in revision 9adc119e3c.
D3D11: Fix shader constant mapping.
2012-02-21 12:51:41 +01:00
NeoBrainX 9adc119e3c PixelShaderGen: For custom textures and scaled EFB copies, use correct texel to pixel mapping when sampling textures
(D3D9 only)

This is basically the same as revision e58692653a, just for scaled textures and with a LOT more work...
2012-02-20 20:32:08 +01:00
NeoBrainX d068686a7f Revert revision f7d757b46e. 2012-02-20 11:51:40 +01:00
NeoBrainX e58692653a PixelShaderGen: Use correct texel to pixel mapping when sampling textures
(D3D9 only)

Fixes issue 2068.
Fixes issue 5158.
2012-02-17 17:09:17 +01:00
parlane bea635d1d5 Fixes issue 5214 for real! 2012-02-15 20:56:50 +00:00
parlane cbab832907 Updated English translation, fixes issue 5214. 2012-02-15 20:52:03 +00:00
Matthew Parlane fc3eb7c6a7 Fixed a few warnings. 2012-02-09 17:18:46 +13:00
Andrew de los Reyes c9dfcf8cf7 Add Support for Wii Motion Plus INSIDE Wii Remotes on Mac OS X.
This patch makes a few changes necessary for support for the new Wii
Remotes:

- For all OSes:
  - Adds a new bool member variable m_motion_plus_inside to identify
    the new Wii Remotes.
  - If we have a new Wii Remote, use a head byte of 0xa2. We could
    just change this behavior for all Wii Remotes, but an existing
    comment suggests that would break 3rd party Wii Remotes.

- On Mac OS X:
  - Expand the search criteria for the bluetooth scan. This is
    necessary because the new Wii Remote identifies with minor class
    kBluetoothDeviceClassMinorPeripheral2Gamepad, but the old Wii
    Remotes use minor class
    kBluetoothDeviceClassMinorPeripheral2Joystick (1).
  - Send commands on the interrupt channel, not the control
    channel. The new Wii Remotes require this; old ones are compatible
    with this. Note: 3rd party Wii Remots are untested with this
    change; the hope is they are still functional.
  - Get the name of the bluetooth device and see if it ends in
    "-TR". If so, set a member variable so we know it's the new kind
    of Wii Remote.

This should fix issue 5011 for Mac OS X:
http://code.google.com/p/dolphin-emu/issues/detail?id=5011
2012-02-09 11:42:42 -08:00