Commit Graph

8655 Commits

Author SHA1 Message Date
880992b10f Fixed DoState and removed unneeded class variable. 2012-03-07 00:22:55 +13:00
b49b4bb614 Fixed DoState and removed unneeded class variable. 2012-03-07 00:21:31 +13:00
53d2d9718f Fixes issue 2917 and possibly others like 5232 2012-03-06 23:32:13 +13:00
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
614c43029f fixed files so they can have more than one handle opened at a time. 2012-03-06 23:31:48 +13:00
095b9de85e Fixes issue 2917 and possibly others like 5232 2012-03-06 23:10:04 +13:00
b0f75f17ae This release still fixed the hangs produced by fifo overflow without sacrifice performance.
For example you can test Tutorial moves at the beginning of The last history now is fluid 30/60.
Shuffle2: I've delete the hacky line, I think is not necessary anymore. Additional some clean in CommandProcessor.
Please test The Last Story and others games affected in the previous commits and give me a feedback.
2012-03-05 02:40:10 -03:00
a53916ff5d Changed the detection of FIFO write addresses to writes at the gather pipe boundary. This speeds up games which frequently write to the gather pipe like the pre-rendered movies in The Last Story.
Added some code to unlink invalidated blocks so that the recompiled block can be linked (speed-up).
2012-03-04 23:42:33 +11:00
5de8366db2 Made the invalidation of the FIFO write JIT blocks more selective (efficient). Fixes the slowdown in the House of the Dead: Overkill cutscenes. 2012-03-04 08:10:46 +11:00
f5d4fe0bfe Fix some minor bugs pointed out by PVS Studio (thanks!) 2012-03-03 20:07:20 +01:00
874e17e504 Added the corresponding change from r9e649ce79850 to JITIL. 2012-03-03 15:41:55 +11:00
9e649ce798 Added additional checks to ensure that only a FIFO breakpoint exception is handled. This fixes the hangs in games like de Blob, Xenoblade and Super Mario Galaxy introduced by r9e398fd41802. 2012-03-03 14:26:39 +11:00
9276b76fbc VideoSoftware: Implement zfreeze (GXSetCoPlanar).
Fixes Mario Golf: Toadstool Tour's menus.

Reference:
The OpenGL extension SGIX_reference_plane seems to provide the same functionality:
http://www.opengl.org/registry/specs/SGIX/reference_plane.txt
2012-03-02 18:43:44 +01:00
9e398fd418 Added an external exception check when the CPU writes to the FIFO. This allows the CPU time to service FIFO overflows. Fixes random hangs caused by FIFO overflows and desyncs like in "The Last Story" and "Battalion Wars 2". Thanks to marcosvitali for the research.
Fixes issue 5209.
Fixes issue 5150.
Fixes issue 5055.
Fixes issue 4889.
Fixes issue 4061.
Fixes issue 4010.
Fixes issue 3902.
2012-03-02 18:53:41 +11:00
fb062c4a0b Free ECC data. 2012-03-01 21:23:52 +13:00
6eb2cb2666 Merge branch 'master' into wii-network 2012-02-27 22:36:41 -08:00
ee09def802 Merge branch 'cpp11' 2012-02-28 00:28:13 -06:00
38823b6371 Add comment here so people know what's up. 2012-02-28 00:27:16 -06:00
6ccb30ac5f Forced timeout. 2012-02-28 19:17:05 +13:00
1d16785590 Implement ES_Sign and GetDeviceCert and others 2012-02-28 19:17:04 +13:00
57e3fbed91 Debug vprintf! 2012-02-28 19:17:02 +13:00
fea02b8dca Add SSL debug, everyone needs it! 2012-02-28 19:17:01 +13:00
5b01af5a37 openssl: fix linker warning by adding those pesky pdb files. 2012-02-27 00:54:11 -08:00
e5b7e81f44 openssl: enable ec/dsa and rearrange files in Externals a bit. 2012-02-27 00:51:50 -08:00
c3293b1a1c Improvement to revision b8bef29bcc .. :P 2012-02-25 10:59:00 +01:00
b8bef29bcc Fixed a divide by zero error in the hash functions 2012-02-25 20:36:49 +11:00
f92d1e1e93 fix some clang compilation errors 2012-02-24 14:25:02 -06:00
8a8dc77ef1 enable c++11 compilation in cmakelists 2012-02-24 14:19:24 -06:00
f15aeb26b3 Use an auto typed variable in IniFile.cpp 2012-02-24 19:20:17 -06:00
b251880d8b GameConfig: Remove an empty file 2012-02-24 17:31:17 +01:00
9866cae4ff net: create directory for config file if it doesn't exist. 2012-02-23 12:48:54 -08:00
f73c82c232 net: add inet_ntop 2012-02-23 12:38:11 -08:00
3a9fed0ba2 PixelShaderGen: Fix a bug introduced in revision 9adc119e3c.
D3D11: Fix shader constant mapping.
2012-02-21 12:51:41 +01:00
1c2004fe5d Wrong japan game value. 2012-02-20 20:26:48 +00:00
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
d068686a7f Revert revision f7d757b46e. 2012-02-20 11:51:40 +01:00
c42a6f156e Added Korean handling of settings file.
Fixes issue 5215.
2012-02-19 23:02:01 +00:00
b9aeba7f7c Make SO_POLL work on Linux (and probably better on Windows :P) 2012-02-19 19:39:47 +01:00
31788791e8 Logging messages change errno, save the return value from recv before logging 2012-02-19 19:39:46 +01:00
81d7eefd6a Correctly map Wii/native socket level and optname for GETSOCKOPT 2012-02-19 19:37:56 +01:00
87456054d6 Move the sockopt mapping to the toplevel (needed for GETSOCKOPT too) 2012-02-19 19:37:56 +01:00
2c9109936c Linux uses EAGAIN instead of EWOULDBLOCK (only used on Windows) 2012-02-19 19:37:56 +01:00
ef4ac51170 Added some error comments. 2012-02-19 14:29:57 +13:00
40c9f481df Fixed some warnings, removed unneeded linux ifdefs 2012-02-19 13:06:05 +13:00
959d116530 Handle SSL_ERROR_WANT_WRITE too in the NET_SSL_READ ioctl handler (+ cleanup) 2012-02-18 23:25:42 +01:00
5fe49e4185 Implement SO_SETSOCKOPT for POSIX systems 2012-02-18 19:01:22 +01:00
6026f245c8 Make getNetErrorCode more generic between Windows and POSIX systems. Might break Windows build. 2012-02-18 17:51:06 +01:00
6cc02747a0 Implement SO_FCNTL correctly on Linux 2012-02-18 17:28:53 +01:00
60b8227df2 Display errno in Linux getNetErrorCode defautl case 2012-02-18 17:28:31 +01:00
77effd8913 SO_POLL Linux implementation 2012-02-18 10:22:28 +01:00