Justin Chadwick
26242de914
Increases Gamecube pad polling rate during netplay to normal. Also re-add dualcore setting syncing to netplay, which I had erroneously removed.
2013-08-18 08:19:16 -04:00
skidau
c774fb4880
Removed a redundant tooltip text.
2013-08-18 17:09:01 +10:00
skidau
5cec914484
Changed the default audio latency to 2. Made soft_oal.dll the default on Windows builds as the old OpenAL32.dll is outdated and contains bugs.
2013-08-18 17:03:21 +10:00
Ryan Houdek
ba76b016da
[Android] Fix Wii games.
2013-08-17 19:41:28 -05:00
Ryan Houdek
7294fe5a3f
Change per instruction run counts to u64 on all platforms. JIT64 and JITIL runcount isn't implemented properly(and is disabled) so this doesn't effect them.
2013-08-18 00:15:47 +00:00
Pierre Bourdon
d6fe9c639b
Add an OSD message to remind the user if Shader Debugging is enabled
...
Fixes issue 6497.
2013-08-17 23:48:06 +02:00
Jasper St. Pierre
756bf93111
NetWindow: Move "Write memcards" checkbox to be host-only
...
The setting is propagated from the host, so the client checkbox would
be ignored anyway.
2013-08-16 21:42:38 -04:00
Ryan Houdek
7934df3879
Remove a redundant check in the fifo.
2013-08-17 01:27:08 +00:00
Matthew Parlane
d0d162e6ad
Fix really stupid optimise on Windows.
...
Possibly explains speed difference from master.
2013-08-17 12:16:51 +12:00
Ryan Houdek
08b27bb3b8
In the EGL backend context interface, don't call eglMakeCurrent. This was only done to pull in some information to the info log. This is necessary since eglMakeCurrent binds the context to the current thread and we need to destroy the context and reinitialize it when jumping to a new thread. We already call MakeCurrent in Video_Prepare which is done in the new thread.
2013-08-16 23:41:45 +00:00
NeoBrainX
1ba98550ef
VideoConfigDialog: Rephrase "Hacked Buffer Upload" and its description to something less technical.
2013-08-16 14:26:50 +00:00
Rachel Bryk
89d324786a
Prevent stopping emulation before fully booting. This can sometimes cause dolphin to crash.
2013-08-16 10:04:08 -04:00
Ryan Houdek
da560ecefc
On CoreParemeter member object creation make sure to set bEnableDebugging, bAutomaticStart, and bBootToPause to default values so they aren't unitialized. This caused a issue in particular on the Android builds where bBootToPause would cause the games to boot in to a paused state, effectively causing the application to need to be forced closed and reran multiple times in order to test anything.
2013-08-16 07:30:53 -05:00
Ryan Houdek
367f294ed2
[Android] Make sure to unallocate the correct memory size in MemArena.
2013-08-16 04:55:43 -05:00
Matthew Parlane
59e060aba2
Missed some VS build options.
2013-08-16 21:42:31 +12:00
Matthew Parlane
9de7611ff9
Merge branch 'master' into wii-network
...
Conflicts:
CMakeLists.txt
Source/Core/Core/Core.vcxproj
Source/Core/DolphinWX/Dolphin.vcxproj
Source/Core/DolphinWX/Dolphin.vcxproj.filters
Source/Dolphin_2010.sln
Source/VSProps/Dolphin.Win32.props
Source/VSProps/Dolphin.x64.props
2013-08-16 19:17:07 +12:00
Pierre Bourdon
c3065ecb66
Fix compatibility with the SDL2.0 release.
...
SDL2.0 removed SDL_HAPTIC_SQUARE because of ABI issues (see comment #7 on issue
6491 by Ryan C. Gordon from the SDL project). It will be reintroduced again in
2.1, so keep the code and #ifdef it away.
2013-08-15 22:18:40 +02:00
Rodolfo Bogado
ba6a67a5f1
Merge branch 'master' of https://code.google.com/p/dolphin-emu into dx9-ssaa-fix
2013-08-15 13:49:53 -03:00
Matthew Parlane
417552b21e
Not sure what that was.
2013-08-16 01:06:44 +12:00
Pierre Bourdon
c6d8d52041
Fix a warning introduced by the recent netplay UI changes
2013-08-15 15:05:20 +02:00
Matthew Parlane
d6ec6ae97a
Fix polarssl on Windows.
2013-08-16 00:24:10 +12:00
Matthew Parlane
d8b39b9dcf
Support PolarSSL on *nix
...
Removed unneeded PolarSSL directories.
Remove duplicate sha1 and md5 files.
Define out SSL test file writing.
Fix format string bug and warning.
2013-08-15 23:36:17 +12:00
Matthew Parlane
b93d62dcb8
Remove LTCG and platform toolset, fix code style.
2013-08-15 21:43:43 +12:00
Matthew Parlane
fede38985e
Replace OpenSSL with PolarSSL
...
Works on windows, not yet cmake.
2013-08-15 20:47:47 +12:00
Rodolfo Bogado
979718484f
Merge branch 'master' of https://code.google.com/p/dolphin-emu into dx9-ssaa-fix
2013-08-15 00:21:28 -03:00
Jasper St. Pierre
3380e47ca7
MemArena: Free memory for 64-bit machines
...
Make the logic here a lot simpler. Patch contributed by Google Code
user plbl4ster.
2013-08-14 20:34:15 -04:00
Jasper St. Pierre
1826fce946
NetPlay: Make sure the server knows it's stopped when it's stopped
...
This is embarassing.
2013-08-14 18:36:09 -04:00
Pierre Bourdon
7622d5b354
Only call SetGenerationMode from BPWritten if the cull mode changed.
...
Should decrease CPU usage on the GPU thread by a bit in the OGL backend.
2013-08-15 00:26:03 +02:00
Jasper St. Pierre
998194246c
NetPlay: Disable the "Start" button while the game is running
2013-08-14 18:16:07 -04:00
Jasper St. Pierre
1c74e412e2
NetPlay: Remove the "Stop" button
...
Now that the host can simply close the window, there's no need for this extra control.
2013-08-14 18:16:06 -04:00
Jasper St. Pierre
5241deaebe
NetPlay: Allow hosts to stop the game by closing the game window
2013-08-14 18:16:05 -04:00
Jasper St. Pierre
92f8d79574
NetPlay: Set the pad buffer size on server creation
...
If we don't do this, then when the game starts we'll send out the
buffer size to clients being a super large value of junk, and they'll
hang forever trying to accumulate an input buffer a size that they'll
never ever reach in a million years.
This never manifested in release builds for some reason.
2013-08-14 18:15:28 -04:00
Pierre Bourdon
26f58e1ba5
Add an option to enable performance queries in gameini files, disable it by default
2013-08-14 23:16:46 +02:00
Pierre Bourdon
ffdd79df36
Move VideoBackendBase from Common to VideoCommon
2013-08-14 23:16:46 +02:00
NeoBrainX
0cd94b5bc7
VertexShaderGen: Cleanup.
2013-08-14 11:47:23 +00:00
Rodolfo Bogado
85f91d66ba
Merge branch 'master' of https://code.google.com/p/dolphin-emu into dx9-ssaa-fix
2013-08-13 17:30:22 -03:00
John Chadwick
a791733c27
Fix invalid C++ code (returning reference to local) - thanks devm33.
2013-08-13 14:47:32 -04:00
Rodolfo Bogado
9e0fc8b42d
Merge branch 'master' of https://code.google.com/p/dolphin-emu into dx9-ssaa-fix
2013-08-12 21:32:25 -03:00
NeoBrainX
c05aa0141d
ShaderGen: Optimize out most function calls for uid generation.
2013-08-12 18:30:42 +02:00
NeoBrainX
fe2ca814c5
LightingShaderGen: Use macro magic instead of snprintf. Should fix performance problems.
2013-08-12 18:30:42 +02:00
NeoBrainX
22d9736787
ShaderGen: Static inline everything.
2013-08-12 18:30:42 +02:00
NeoBrainX
69a5a79c03
PixelShaderGen: Optimize shader uid data order.
2013-08-12 18:30:42 +02:00
NeoBrainX
7a1940020d
VertexShaderGen: Optimize shader uid data order.
2013-08-12 18:30:41 +02:00
Rodolfo Bogado
5948665cd6
Merge branch 'master' of https://code.google.com/p/dolphin-emu into dx9-ssaa-fix
2013-08-12 10:30:19 -03:00
Jasper St. Pierre
d0084cb41d
Main: Fix code that creates the BIOS subdirectories
...
We need to ensure that the file path ends with DIR_SEP, as
File::CreateFullPath is a very naive function.
2013-08-12 06:23:58 -04:00
NeoBrainX
4c22e1264e
PixelShaderGen: Do not write depth in pixel shader if depth testing (and thus writing) is not enabled. Should improve performance quite a bit in some cases.
...
Fixes issue 6474.
2013-08-12 09:33:36 +00:00
Ryan Houdek
7f3c06de27
[ARM] Add a few instructions.
2013-08-12 02:52:56 +00:00
Rodolfo Bogado
f4000b6b42
Add the ability to force Dual Source Blending in the configuration file.
...
this way everyone can check if their hardware support this feature in dx9
2013-08-11 18:48:31 -03:00
Jasper St. Pierre
22b3c26654
Main: Create BIOS subdirs of GC userdir on load
...
So that users don't get confused about where to place the BIOS files
2013-08-11 14:33:26 -04:00
Jasper St. Pierre
d0729983b0
Check for GC BIOS in userdir before sysdir
2013-08-11 14:13:45 -04:00
Jasper St. Pierre
b5c2737c9f
IniFile: Don't parse comments after the [Section] brackets
...
This is non-standard behavior. We won't fail to parse, but we now
won't write them back out either.
2013-08-11 11:32:10 -04:00
Jasper St. Pierre
0eaea5f4df
IniFile: Remove support for comments anywhere but the beginning of lines
...
The MS INI parser and most other INI parsing libraries APIs only support
comments at the beginning of lines. Right now, some Game INI files use sections
like:
[OnFrame]#Add memory patches here
But these section headers are parsed separately, so this should not break
them.
2013-08-11 11:30:52 -04:00
Ryan Houdek
4ed8972c30
[ARM] Implement andx, andi_rc, and andis_rc.
2013-08-11 08:21:17 +00:00
Ryan Houdek
42aef24d78
[ARM] IMM support for all integer instructions that call ComputeRC. Small FPS gains everywhere.
2013-08-11 07:41:23 +00:00
Ryan Houdek
ef83d03dc0
[ARM] Fix ori again.
2013-08-11 05:07:20 +00:00
Jordan Woyak
a279001472
Remove "-0" from stable version numbers in a more foolproof manner for vs and cmake builds.
2013-08-10 17:19:19 -05:00
Jordan Woyak
951d8e356a
Remove some non-catastrophic IPC_HLE wiimote related PanicAlerts. We have logging for this.
...
Fixed issue 6464.
2013-08-10 16:50:12 -05:00
NeoBrainX
eed36cbf78
D3D11: Implement zcomploc for hardware supporting D3D 11.0.
2013-08-09 22:20:35 +02:00
Ryan Houdek
805009abca
Fix a merge fail that happened when I merged in Android. It is just a bit of duplicate code, no issues came from it.
2013-08-09 19:01:27 +00:00
Pierre Bourdon
0aa9308006
Revert "Fix a memory leak in ExpressionParser.cpp"
...
This reverts commit cce809ac90
.
The code was actually correct: "expr" is never allocated when an error is
returned. This means when the expression parser fails, deleting "expr" means
deleting an uninitialized pointer.
2013-08-09 10:46:11 +02:00
Rachel Bryk
90d454d22f
Remove -0 from stable release version numbers.
2013-08-08 23:59:53 -04:00
Pierre Bourdon
9ea01aa7a8
Use a multibyte-neutral codepage when calling *printf on Windows.
...
More explanation in code comments.
Fixes issue 4046.
2013-08-09 00:17:48 +02:00
Lioncash
cce809ac90
Fix a memory leak in ExpressionParser.cpp
...
Because there's a return here, expr should be deleted since it's not assigned to anything before returning.
2013-08-08 17:56:15 -04:00
NeoBrainX
72abe7c654
Fix a stack corruption in ExtendedTrace.
...
Fixes issue 6454.
2013-08-08 20:29:20 +02:00
degasus
a6fd2c8227
fix lightning for inconsitent config
...
It's possible to configure to use the vertex color as lightning source without enabling the vertex color at all.
The old implementation will use zero, but it seems to be wrong (prooven by THPS3), more likely is to disable
the lightning and just return the global color.
This fixes THPS3 on OpenGL, but it isn't verifed on hardware
2013-08-07 14:22:15 +02:00
Lioncash
9d0554e4a6
Free two memory leaks in ArmCPUDetect.cpp
...
Char pointers aren't freed after use.
Fixed this in PPSSPP a few days ago. Forgot to check here for the same thing until now.
2013-08-06 18:17:54 -04:00
Rachel Bryk
88212fba67
Add new Netplay headers to the VS project.
2013-08-05 23:15:53 -04:00
Ryan Houdek
873987bc99
[ARM] Some initial support for immediates in integer. Plenty more to go.
2013-08-05 19:48:15 +00:00
Ryan Houdek
4752eae677
[ARM] Fix IMM support in the register cache.
2013-08-05 18:33:51 +00:00
Jasper St. Pierre
9f90cbee19
NetPlayServer: Close the socket when we're done with it
...
This would allow a new socket to be created with the same port after
we close it. However, we can't reuse it immediately because of the TCP
TIME-WAIT state.
2013-08-05 06:43:27 -04:00
Jasper St. Pierre
59ab60f37f
NetPlay: Supply every player's ping data to the client
...
This means that we now have feature parity with the combined server
before.
2013-08-05 06:12:56 -04:00
Jasper St. Pierre
a3a222bf5b
NetPlay: Remove NetPlay.h / NetPlay.cpp
...
Now the server and client implementations are entirely separate.
2013-08-05 05:05:06 -04:00
Jasper St. Pierre
9e63cebc93
NetPlay: Remove the base NetPlay class
...
It's only used by the NetPlayClient. For now, keep around NetPlay.cpp,
but we'll remove that soon.
2013-08-05 04:56:30 -04:00
Jasper St. Pierre
3b32d3c90d
NetPlay: Split the server out, and make the local system manage a client as well
...
This should be transparent, but it may cause regressions.
The idea here is that now all players, including the host of the server,
talk to the server through TCP/IP networking. This significantly reduces
our codepaths through netplay, and will prevent strange local-only bugs
from happening.
The cleanup isn't 100% finished yet. The NetPlay dialog still drives the
server through private APIs. I eventually want to sanction off the server
entirely, so all communication is done through TCP/IP. This will allow us
to have high-traffic public servers that can relay multiple games and
lobbies at a time, and split off channel and game management to people
other than the host.
This is all still just a pipe dream, though.
2013-08-05 04:42:26 -04:00
Jasper St. Pierre
9e8655fa1f
NetPlay: Remove some dead code
2013-08-05 04:25:16 -04:00
Ryan Houdek
25fc0c27f3
[ARM] Make sure to flush a register location. IMM still doesn't work...
2013-08-05 07:15:15 +00:00
Ryan Houdek
f2e43f47a4
[ARM] Add support for IMMs to the GPR reg cache. Not yet using it since it doesn't quite work
2013-08-05 05:26:32 +00:00
Ryan Houdek
f485d96b0b
[ARM] Remove Fastmem. It is buggy and may never have the potential to work correctly.
2013-08-05 05:26:32 +00:00
Jasper St. Pierre
0e0f0aec6e
Core: Remove dead code
...
We never call SetState with CORE_UNINITIALIZED, and always call
Core::Stop() directly.
2013-08-05 00:03:15 -04:00
Ryan Houdek
db93b516b0
[ARM] Missed flushing our register caches in mtmsr. This would cause a buttload of problems, including the suspected ori being wrong issue. So flush caches and reenable ori.
2013-08-05 02:15:25 +00:00
Ryan Houdek
bafed349e8
[ARM] dcbst implementation.
2013-08-04 17:44:59 +00:00
Ryan Houdek
522d38d080
[ARM] Implement cmpl
2013-08-04 17:33:43 +00:00
Ryan Houdek
f690be3e94
[ARM] Disable ori since it breaks Wind Waker.
2013-08-04 17:05:53 +00:00
Rachel Bryk
af71100867
Save DSP on thread setting to config cache when booting.
...
Fixes issue 6451.
2013-08-04 02:34:39 -04:00
Pierre Bourdon
28e12a4198
Change the OSX CFBundleIndentifier to use the proper domain name
2013-08-03 18:37:57 +02:00
Ryan Houdek
cf8e8c91b6
[ARM] Implement lha and fix lfs.
2013-08-03 00:48:45 +00:00
Ryan Houdek
ca7fb9f38e
[ARM] Fix VCVT F32<->F64 encoding.
2013-08-03 00:48:44 +00:00
Rachel Bryk
f58edd018c
Remove a couple files which have apperently never been used for anything.
2013-08-02 20:46:07 -04:00
Rachel Bryk
541106d611
Increase number of save state slots to 10.
2013-08-02 20:42:30 -04:00
Ryan Houdek
ab0f42636d
[ARM] Push new ArmEmitter changes from PPSSPP. Mostly Fixes a few VFP/NEON instruction encodings.
2013-08-02 23:18:44 +00:00
Rachel Bryk
c1baed086d
Fix hotkeys.
2013-08-02 16:14:34 -04:00
degasus
8f1a2bf43b
fix c&p error
...
This error could change dual vs single core setting
2013-08-02 14:21:34 +02:00
Glenn Rice
95c234ceb3
Merge branch 'join-wiimote-scanning-thread'
2013-08-01 07:19:00 -05:00
Glenn Rice
be76dc153b
Re-add the HandleWiimoteDisconnect calls to the RealWiimote::Shutdown
...
routine. This is needed to actually disconnect real wiimotes and delete
the corresponding wiimote objects when the app exits.
2013-08-01 07:16:51 -05:00
Rachel Bryk
8c5bc2ba3c
Allow setting dsp on thread via game ini.
...
Also force TWW to LLE and no dsp on thread.
2013-07-31 21:35:22 -04:00
Glenn Rice
7aae59a766
Add comments to explain the usage of the WiimoteReal Stop/Shutdown
...
routine usage.
2013-07-31 09:19:28 -05:00
Glenn Rice
01987be6b9
Make sure that WiimoteReal is really shutdown on app exit. Particulary
...
ensure that the wiimote scanning thread is joined. This fixes a crash
on shutdown if scanning has been initiated.
2013-07-31 09:09:18 -05:00
Rachel Bryk
44d17b5da5
Add hotkeys to increase/decrease the frame limit.
2013-07-30 19:25:12 -04:00
Rachel Bryk
a33b1fcdc6
Make hotkeys for togglign IR, AR, efb copies and fog settings configurable.
2013-07-30 05:49:02 -04:00
degasus
4987f89ecc
simplify my last commit
2013-07-29 23:26:18 +02:00