Commit graph

7928 commits

Author SHA1 Message Date
Jordan Woyak
bf4be1d8d1 Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin. 2013-02-17 01:57:25 -06:00
Jordan Woyak
3330842505 Let's not CreateDir an empty string every time CreateFullPath is used, logging an error every time. 2013-02-17 01:33:22 -06:00
Jordan Woyak
9ac2fbb0a5 Fix a memleak. Probably/maybe improve USBGecko performance. 2013-02-17 00:19:42 -06:00
Jordan Woyak
206fdde933 Remove the core count from the cpu info OSD message. It was often wrong and not rather important. 2013-02-16 23:48:20 -06:00
Jordan Woyak
537d5ea942 Use omp_get_num_procs to set the number of OpenMP threads rather than our core count detection. 2013-02-16 23:48:20 -06:00
skidau
123035a192 Bulk send TCP data to the client with the emulated USB Gecko.
Fixes issue 6006.
2013-02-17 15:27:15 +11:00
skidau
1792a9d27b Added the ability to reverse the direction of the force feedback by allowing negative range values.
Fixes issue 5981.
2013-02-17 15:03:10 +11:00
skidau
0e2c3f3483 Increased the cycle time of the vertex command. Fixes "Speed Challenge: Jacques Villeneuve's Racing Vision". 2013-02-16 22:54:10 +11:00
skidau
45efced280 Moved the setting of the Finish interrupt signal back to the main thread as it was causing Wii games like Resident Evil 4 (Wii) to hang. 2013-02-16 18:30:20 +11:00
Jordan Woyak
d994e56b60 Changes/cleanup to TextureCache::Load and other mipmap related code.
The significant change is what is now line 520 of TextureCacheBase.cpp:
((std::max(mipWidth, bsw) * std::max(mipHeight, bsh) * bsdepth) >> 1)
to
TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat);

Fixes issue 5328.
Fixes issue 5461.
2013-02-15 22:56:29 -06:00
skidau
0c882cca66 Profile stores, fp stores and ps stores only to the fifo write addresses list. This should make the JIT a little faster as it will not be checking for external exceptions unnecessarily. 2013-02-16 13:54:58 +11:00
skidau
9bff8e00c8 Added preliminary support to synchronise the timing of the CPU and GPU threads. A new option has been added to the game properties for this purpose. This option may help with random freezes in Dual Core mode.
Fixes Gladius and Baten Kaitos: Eternal Wings and the Lost Ocean

Fixes issue 5150.
2013-02-16 12:51:09 +11:00
skidau
51795d8811 Merge branch 'master' into FIFO-BP
# By Jordan Woyak (24) and others
# Via Jordan Woyak (3) and others
* master: (66 commits)
  Reduce some DI command delays. Fix DKCR hanging with DSP HLE. My other games continue to work.
  Video_Software: Fix ZComploc option breaking stuff.
  Video_Software: Fix the ZFreeze option doing nothing.
  Video_Software: Toggable zfreeze and early_z support for testing.
  Fix header guard and definitions not being set to 1
  Add the option to turn on only the EGL interface to use desktop OpenGL with it.
  Change the ugly "no banner" banner to the sexy "X" from the website.
  Fix a crash in the FifoPlayer dialog.
  Use different reply delays for various DI commands. Fixes issue 5983.
  Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary."
  Fix some potential issues when blending on EFB formats without alpha. Clean up state transition tables.
  Disable play and record buttons if an iso was selected, but is later deselected.
  Disable start/play recording buttons when no iso is selected.
  Only delay DI and fs IPC replies. Fixes issue 5982.
  Fix compilation with SDL2. (based on a patch from matthewharveys) Fixes issue 5971.
  "Fix" using SDL from externals.
  Clean up SDL includes a bit. Maybe fix an SDL2 problem.
  Number "unknown" axes in OSX rather than call them all "unk".
  Revert "Only delay DI command replies." Fix "Wii Party" again.
  Hopefully make wiimote speaker less crappy.
  ...
2013-02-16 11:10:03 +11:00
Jordan Woyak
5a3435255b Reduce some DI command delays. Fix DKCR hanging with DSP HLE. My other games continue to work. 2013-02-15 16:02:38 -06:00
NeoBrainX
6fd96a162f Video_Software: Fix ZComploc option breaking stuff. 2013-02-15 17:55:16 +01:00
NeoBrainX
fb0102d441 Video_Software: Fix the ZFreeze option doing nothing. 2013-02-15 17:47:29 +01:00
NeoBrainX
183ad0c628 Video_Software: Toggable zfreeze and early_z support for testing. 2013-02-15 17:45:33 +01:00
Jordan Woyak
ef90b15f3e Provide an option to not send speaker data. It can cause rumble lag even when the speaker is muted. 2013-02-15 03:00:31 -06:00
Jordan Woyak
1f20a24a04 Minor changes. 2013-02-14 21:02:41 -06:00
Jordan Woyak
891de52769 Don't need to hang dolphin when searching for wiimote with the refresh button.
This code is getting pretty ugly. :/
2013-02-14 19:04:34 -06:00
Jordan Woyak
cda88a8c1e Random improvements. 2013-02-14 18:43:11 -06:00
Jordan Woyak
306e6b1d80 Turn off continuous scanning by default. 2013-02-14 18:43:11 -06:00
Jordan Woyak
e57ff06130 Futile attempts at fixing Windows. 2013-02-13 14:00:15 -06:00
Jordan Woyak
77381a1af2 Futile attempts at fixing OS X. 2013-02-12 21:37:47 -06:00
Jordan Woyak
7f305ba822 Fix sloppy connection logic. 2013-02-12 18:59:45 -06:00
Jordan Woyak
12674b3164 Possibly improve real wiimotes on Windows. 2013-02-12 17:01:51 -06:00
Jordan Woyak
da53ca8ee3 "Wait for the wiimote to connect"? I think that's a horrible idea. 2013-02-12 00:19:27 -06:00
Jordan Woyak
a6461ca186 Improve wiimote reconnection on changing wiimote sources. 2013-02-11 23:39:04 -06:00
Jordan Woyak
fa10335c55 Make continuous scanning optional. 2013-02-11 17:58:56 -06:00
Jordan Woyak
f3d25f2cb0 OSX buildfix! 2013-02-11 16:07:01 -06:00
Jordan Woyak
0fb7f65e04 Problems on Windows? Just SLEEP twice as long! 2013-02-11 15:58:23 -06:00
Jordan Woyak
c2d2fb8c7c Try to improve real wiimotes on Windows. 2013-02-11 15:21:58 -06:00
Ryan Houdek
8923f0e13b Fix header guard and definitions not being set to 1 2013-02-11 15:06:40 -06:00
Jordan Woyak
b8fd5c0c30 Fix Windows for real! 2013-02-11 05:57:55 -06:00
Jordan Woyak
c267be2682 Hopefully fix windows! 2013-02-11 05:30:51 -06:00
Jordan Woyak
7a053d0f07 buildfix! 2013-02-11 03:50:54 -06:00
Jordan Woyak
05ec90488b Make real wiimotes not so crappy on Windows hopefully. 2013-02-11 03:39:09 -06:00
skidau
f26650e55b Removed the updating of PC in the Cleanup function. This was causing Metroid Prime to hang. 2013-02-11 08:42:16 +11:00
skidau
17c4fcfd90 Removed the updating of PC in GenQuantizedStores() as the generated code is static. 2013-02-10 18:40:50 +11:00
skidau
0cafc33eda Moved the token update to the CPU thread. 2013-02-10 18:24:30 +11:00
skidau
056930cac8 Updated PC on a few memory writes that were missed in the FifoBusy branch. Thanks to hk.konpie for the tip.
Fixes issue 5993.
2013-02-10 13:33:56 +11:00
Jordan Woyak
1c64b1993d Change the ugly "no banner" banner to the sexy "X" from the website. 2013-02-09 17:04:41 -06:00
NeoBrainX
6645bd6fc6 Fix a crash in the FifoPlayer dialog. 2013-02-09 12:39:19 +01:00
skidau
5f672baca3 Used Atomic functions to update variables shared between the CPU and GPU threads.
Changed the variables from bool to u32 to match the atomic functions.
2013-02-09 17:46:48 +11:00
Jordan Woyak
50c83d614c More attempts at fixing Windows and OS X. 2013-02-08 21:20:54 -06:00
Jordan Woyak
9bb9286cd3 OSX buildfix! 2013-02-08 16:59:59 -06:00
Jordan Woyak
1f1b4a6992 Hopefully make real wiimotes on OSX less crashy. 2013-02-08 16:54:48 -06:00
Jordan Woyak
a11827cdf0 Use different reply delays for various DI commands.
Fixes issue 5983.
2013-02-08 16:27:14 -06:00
Jordan Woyak
1998da867b OSX fix maybe. (based on jchadwick's patch) 2013-02-08 12:33:45 -06:00
Jordan Woyak
8ce58759e3 Remove some old nonsense. 2013-02-07 23:52:50 -06:00
Jordan Woyak
87bbdbf542 Remove settings stuff that was not actually used anywhere. 2013-02-07 23:23:32 -06:00
Jordan Woyak
026793fa4a Fixup real wiimote GUI. 2013-02-07 23:17:51 -06:00
Jordan Woyak
3063942dd0 some cleanup 2013-02-07 21:54:23 -06:00
Jordan Woyak
c4df69a342 Merge branch 'master' into real-wiimote-scanning
Conflicts:
	Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp
	Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp
2013-02-07 20:22:06 -06:00
Jordan Woyak
a2ca76ebd9 Buildfix. 2013-02-07 15:16:41 -06:00
Jordan Woyak
57ea09dcc2 Fix BT-less! 2013-02-07 14:46:01 -06:00
NeoBrainX
95d08db46f Revert "[bugfix] DX9::TextureCache: Use max_lod instead of min_lod where necessary."
This reverts commit 6c8a22de24.
2013-02-07 21:45:06 +01:00
Jordan Woyak
9ecfb5e75d Buildfix for real! 2013-02-07 14:42:50 -06:00
Jordan Woyak
85f25ded4c Buildfix!
Programming for Windows on Linux is hard, OK?
2013-02-07 14:22:45 -06:00
Jordan Woyak
8f5fb7e6f9 Hopefully buildfix Windows. (thanks for the patch, RachelB) 2013-02-07 14:15:47 -06:00
NeoBrainX
ed0abc9dc5 Merge branch 'mipmap_fixes'. 2013-02-07 20:40:33 +01:00
NeoBrainX
6870c1fdd5 Fix some potential issues when blending on EFB formats without alpha.
Clean up state transition tables.
2013-02-07 18:01:24 +01:00
Rachel Bryk
0ebe35e0ef Disable play and record buttons if an iso was selected, but is later deselected. 2013-02-07 00:31:57 -05:00
Rachel Bryk
6bc9e7579c Disable start/play recording buttons when no iso is selected. 2013-02-06 20:56:07 -05:00
Jordan Woyak
9cbfddd788 Only delay DI and fs IPC replies.
Fixes issue 5982.
2013-02-06 16:52:51 -06:00
Jordan Woyak
ef9d7fb789 Fix compilation with SDL2. (based on a patch from matthewharveys)
Fixes issue 5971.
2013-02-05 21:08:52 -06:00
Jordan Woyak
708fed92c8 Clean up SDL includes a bit. Maybe fix an SDL2 problem. 2013-02-05 15:34:23 -06:00
Jordan Woyak
f506783c37 Number "unknown" axes in OSX rather than call them all "unk". 2013-02-05 13:51:08 -06:00
Jordan Woyak
937d9e9007 Revert "Only delay DI command replies."
Fix "Wii Party" again.

This reverts commit fb5b5e8b63.
2013-02-05 02:51:34 -06:00
Jordan Woyak
d0190faded Hopefully make wiimote speaker less crappy. 2013-02-04 22:11:13 -06:00
Jordan Woyak
bc35764ec2 Fixed issue 5973. (probably) 2013-02-04 21:25:14 -06:00
Jordan Woyak
a455abe00b Merge branch 'more-ipc-hle-hacks'
Fixes issue 5972.
2013-02-04 21:01:46 -06:00
Jordan Woyak
d5ec631337 Make real wiimote speaker not cause massive input delays.
Fixes issue 5966.
2013-02-04 20:57:08 -06:00
Jordan Woyak
fb5b5e8b63 Only delay DI command replies. 2013-02-04 19:39:31 -06:00
Jordan Woyak
2ad30958d6 Stuck an IPC HLE Update call in WII_IPCInterface::Write32.
While hacky, this seems to fix various problems without increasing IPC HLE freq to infinity.
Thanks to Aristar for helping test.
Increase IPC command reply delay to 1/100th of a second. (fixes DKCR hanging)
2013-02-04 17:41:10 -06:00
skidau
2c8c8db731 Used AtomicStore to write to the signal interrupts. 2013-02-03 23:52:18 +11:00
skidau
03d9cca2fe Added a script to copy the OpenAL dll's to the main Dolphin folder on new builds. 2013-02-03 19:02:46 +11:00
skidau
9a4e9da7c2 Set the token and finish interrupt signal from the video thread. This fixes the inconsistent state caused by lag from the scheduler. Fixes Rayman 3: Hoodlum Havoc and Shamu's Deep Sea Adventures.
Fixes issue 5401.
Fixes issue 5589.
2013-02-03 18:05:46 +11:00
Jordan Woyak
ca46a34dde Merge branch 'ipc-hle-hacks'
Thanks skid_au for testing and helping think of the solution!

Fixes Issue 4608.
Fixes Issue 5050.
Fixes Issue 5103.
2013-02-02 12:54:22 -06:00
Jordan Woyak
e3c6c6dd69 Increase IPC HLE freq a bit for DKCR. 2013-02-02 12:52:12 -06:00
Jordan Woyak
5c08df00b2 Re-increase max ACL queue size to 100. Better than possibly dropping a packet.
Reduced IPC update freq some.
Removed some other nonsense.
2013-02-02 03:55:33 -06:00
skidau
867bfaa696 Changed cmdidle to match the isGpuReadingData flag. Fixes the random freezes in The Last Story. 2013-02-02 20:50:40 +11:00
Jordan Woyak
286392af9d Reduce ACL max queue size back to 10. Increase IPC_HLE freq to 8 KHz to compensate. 2013-02-01 23:44:17 -06:00
Jordan Woyak
15936cb995 Change copy_n to copy and update the save state version because I forgot. 2013-02-01 23:27:49 -06:00
Jordan Woyak
11a4c92325 Remove "Alternate Wiimote Timing" option. It's no longer needed.
Also kill some irrelevant comments.
2013-02-01 21:39:01 -06:00
Jordan Woyak
00a1f351e9 Delay IPC replies directly caused by requests by 150th of a second. Fixes everything. 2013-02-01 20:58:17 -06:00
Jordan Woyak
039bf27767 Allow Rhythm Heaven Fever's "Remix 1" to work by disallowing a simultaneous "Ack" and "Reply". 2013-02-01 19:01:47 -06:00
Jordan Woyak
e4588e2dfc Workaround ACL overflow issues by not dropping packets until buffer reaches size of 100.
It seems to work without causing input delays or anything bad.
2013-02-01 19:00:10 -06:00
Glenn Rice
f7fa33f2d6 Fix remaining compiler warnings. 2013-01-31 15:29:29 -06:00
Rachel Bryk
e199d21513 Revert "Toggle full screen when double clicking the render window."
This reverts commit de27f0bea9.
2013-01-31 03:54:18 -05:00
Rachel Bryk
de27f0bea9 Toggle full screen when double clicking the render window. 2013-01-31 03:51:29 -05:00
Glenn Rice
0ffdd2607f Fix the majority of the compiler warnings unearthed by the addition of
the new warning flags.
2013-01-29 23:24:51 -06:00
Jordan Woyak
0e04e0c305 Fix some shadowing warnings. 2013-01-29 16:43:22 -06:00
Sonicadvance1
f13a07fb82 Remove this double flush in the idleskipping code. 2013-01-29 21:05:42 +00:00
skidau
2ab1cccbe4 Preset HBeamPos to -1. Fixes NTSC-U N64 VC games.
Fixes issue 5950.
2013-01-29 22:43:56 +11:00
Lioncash
efe8c75424 Duplicate condition fix.
Thanks j4ck.fr0st
2013-01-25 21:30:29 -05:00
Rachel Bryk
1e006b5b99 Better implementation of revision 2cc1a97a66. Works with .gcz files now. 2013-01-25 21:28:04 -05:00
Glenn Rice
f660077d06 Remove deprecated method for accessing a gtk widgets window.
Fix a debug build compiler warning.
2013-01-25 20:11:17 -06:00
Rachel Bryk
74a5ad542b Do not automatically refresh the game list for games that have "Emulation issues" written in their gameini after we open/close the iso properties.
Fixes issue 5932.
2013-01-25 13:00:53 -05:00
skidau
1b6240f7f9 Changed cmdidle to be idle on breakpoint.
Added low watermark interrupts generated by the gather pipe.

Fixes Gladius from not booting.

Fixes issue 5518.
2013-01-25 20:04:31 +11:00