Commit Graph

2827 Commits

Author SHA1 Message Date
3874b46a93 Used an immediate GenerateDSPInterrupt when transferring data from ARAM to MRAM and a scheduled DSP interrupt when transferring data from MRAM to ARAM.
Changed the maximum timeslice back to 20000 as it was causing slowdown.
2013-03-02 12:37:55 +11:00
4c6bbec600 Changed the maximum slice length to 1000 from 20000. This makes the emulator check external exceptions more regularly. Fixes the audio cutting in and out in the Resident Evil GC games using DSP HLE.
Triggered the ARAM interrupt by the scheduler instead of directly in function.  Fixes a hang in Mario Super Baseball.

Fixes issue 5825.
Fixes issue 5096.
2013-03-01 20:23:55 +11:00
73da6f4f3f Merge branch 'master' into FIFO-BP
# By Jordan Woyak (46) and others
# Via Jordan Woyak (2) and others
* master: (70 commits)
  Fixes two memory leaks, one is pretty bad for OSX. Yell at pauldachz if this doesn't work. Or... say thanks.
  Added a BluetoothEnumerateInstalledServices call so that the wiimote remembers the pairing.
  Make ARMJit core default CPU core on ARM architecture
  Fix a StringUtil regression from the arm-noglsl merge
  Small improvement to cmpli/cmpi in ARMJit.
  Merge latest ArmEmitter changes from ppsspp while we're at it.
  Ah. I blame vim on this typo entirely.
  Add disabled code for authenticating wiimotes on Windows.
  Add the missing FPR cache
  Buildfix.
  Yell at the user if they change window size while dumping frames, and some other avi dumping stuff.
  Not sure if this is the right way to handle this, but it makes the save states perfectly stable. That's all that really matters, right?
  Abort loading states from incompatible graphics backends.
  ARM Support without GLSL
  Improve VideoSoftware save states. They are fairly stable, but not perfect. OpcodeDecoder::DoState() needs to be fixed.
  Begin implementing save states to video software. Kind of works, sometimes.
  Make error message for loading save state with wrong dsp engine shorter.
  Abort load state if it uses a different dsp engine, instead of crashing.
  Update the gameini of F-zero. Efb to Ram is no longer the default choice.
  fix last commit by neobrain
  ...

Conflicts:
	Source/Core/VideoCommon/Src/Fifo.cpp
2013-03-01 20:12:56 +11:00
7a04ec6f92 Implemented proper timing for the sample counter in the AudioInterface, removing the previous hack.
Cleaned up some of the audio streaming code.
2013-03-01 11:51:11 +11:00
5c4a130688 Added a BluetoothEnumerateInstalledServices call so that the wiimote remembers the pairing. 2013-03-01 10:28:42 +11:00
bc15919e2e Make ARMJit core default CPU core on ARM architecture 2013-02-28 16:15:32 -06:00
0c16489c39 Merge branch 'VideoSoftware-savestates' 2013-02-28 13:36:29 -05:00
0399959c39 Skipped the EE check if there is a CP interrupt pending.
Fixes issue 4336.
2013-03-01 00:59:38 +11:00
9ff704f202 Small improvement to cmpli/cmpi in ARMJit. 2013-02-27 15:17:23 -06:00
e435851e7a Add disabled code for authenticating wiimotes on Windows. 2013-02-26 21:13:35 -06:00
be7643cd2d Add the missing FPR cache 2013-02-27 02:15:32 +00:00
08fe3c213a Abort loading states from incompatible graphics backends. 2013-02-26 18:28:56 -05:00
717b976875 ARM Support without GLSL 2013-02-26 13:49:00 -06:00
e69c58ee89 Removed the disc seek times for GC games and removed the disc speed option on Wii games.
Checked for external exceptions only in mtmsr.

Fixes issue 5545.
2013-02-26 18:10:02 +11:00
46adbfa9ed Merge branch 'real-wiimote-scanning' 2013-02-25 17:33:34 -06:00
e5c53e371f Make error message for loading save state with wrong dsp engine shorter. 2013-02-25 18:12:48 -05:00
a450ba4420 Abort load state if it uses a different dsp engine, instead of crashing. 2013-02-25 15:58:12 -05:00
6b2804e296 Possible crashfix for OSX. 2013-02-24 22:29:33 -06:00
dc98ce5922 Added the addeo instruction to the JIT tables. Fixes Inkub (WiiWare). 2013-02-24 23:05:12 +11:00
6b28b3929a Delayed the interrupts in the EXI Channel.
Fixes issue 5580.
2013-02-24 21:32:14 +11:00
40b65fdc04 Merge aram-dma-fixes (r76a13604ef49b522281af75675f044d59a74e871) 2013-02-24 17:10:33 +11:00
ae566d6b3c Merge branch 'aram-dma-fixes' into FIFO-BP
# By Pierre Bourdon
# Via Pierre Bourdon
* aram-dma-fixes:
  Simulate a small delay on GC Memcard operations
2013-02-24 00:11:11 +11:00
d76ca57837 Fixed a JIT timing bug that prevented Eternal Darkness from booting in Single Core mode. 2013-02-22 15:13:49 +11:00
351c741906 Merge branch 'master' into FIFO-BP
# By Jordan Woyak (9) and others
* master:
  Fixed a buffer overflow in the OpenAL buffer.
  TextureCache: Fix D3D backends crashing when a game uses multiple 1x1-sized LODs.
  WII_IPC_HLE_Device_FileIO: don't rebuild the filename on every operation.
  Some cleanup of CWII_IPC_HLE_Device_FileIO: The real file was never kept open for longer than a single operation so there was no point in dealing with it in DoState. Saving the real path in the savestate was also probably a bad idea. Savestates should be a bit more portable now.
  Removing destination on rename when source isn't present doesn't make sense. IOCTL_RENAME_FILE still might not be totally correct.
  Change some CNANDContentLoader logic to what was probably intended. Kills some warn logs when opening Dolphin.
  Let's not CreateDir an empty string every time CreateFullPath is used, logging an error every time.
  Fix a memleak. Probably/maybe improve USBGecko performance.
  Remove the core count from the cpu info OSD message. It was often wrong and not rather important.
  Use omp_get_num_procs to set the number of OpenMP threads rather than our core count detection.
  Bulk send TCP data to the client with the emulated USB Gecko.
  Added the ability to reverse the direction of the force feedback by allowing negative range values.
  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);
2013-02-19 23:19:29 +11:00
d0ea94a2aa WII_IPC_HLE_Device_FileIO: don't rebuild the filename on every operation. 2013-02-17 13:52:04 -06:00
fa9aafeed8 Some cleanup of CWII_IPC_HLE_Device_FileIO:
The real file was never kept open for longer than a single operation so there was no point in dealing with it in DoState.
Saving the real path in the savestate was also probably a bad idea. Savestates should be a bit more portable now.
2013-02-17 13:37:01 -06:00
0cdd4434b9 Removing destination on rename when source isn't present doesn't make sense.
IOCTL_RENAME_FILE still might not be totally correct.

Fixes issue 5440.
2013-02-17 12:51:12 -06:00
9ac2fbb0a5 Fix a memleak. Probably/maybe improve USBGecko performance. 2013-02-17 00:19:42 -06:00
123035a192 Bulk send TCP data to the client with the emulated USB Gecko.
Fixes issue 6006.
2013-02-17 15:27:15 +11:00
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
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
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
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
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
1f20a24a04 Minor changes. 2013-02-14 21:02:41 -06:00
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
cda88a8c1e Random improvements. 2013-02-14 18:43:11 -06:00
306e6b1d80 Turn off continuous scanning by default. 2013-02-14 18:43:11 -06:00
e57ff06130 Futile attempts at fixing Windows. 2013-02-13 14:00:15 -06:00
77381a1af2 Futile attempts at fixing OS X. 2013-02-12 21:37:47 -06:00
7f305ba822 Fix sloppy connection logic. 2013-02-12 18:59:45 -06:00
12674b3164 Possibly improve real wiimotes on Windows. 2013-02-12 17:01:51 -06:00
a6461ca186 Improve wiimote reconnection on changing wiimote sources. 2013-02-11 23:39:04 -06:00
fa10335c55 Make continuous scanning optional. 2013-02-11 17:58:56 -06:00
f3d25f2cb0 OSX buildfix! 2013-02-11 16:07:01 -06:00
0fb7f65e04 Problems on Windows? Just SLEEP twice as long! 2013-02-11 15:58:23 -06:00
c2d2fb8c7c Try to improve real wiimotes on Windows. 2013-02-11 15:21:58 -06:00
b8fd5c0c30 Fix Windows for real! 2013-02-11 05:57:55 -06:00
c267be2682 Hopefully fix windows! 2013-02-11 05:30:51 -06:00
7a053d0f07 buildfix! 2013-02-11 03:50:54 -06:00