Commit Graph

9115 Commits

Author SHA1 Message Date
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
Ryan Houdek 0955135290 Add the option to turn on only the EGL interface to use desktop OpenGL with it. 2013-02-11 13:08:41 -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