2732 Commits

Author SHA1 Message Date
skidau
a54e72640f Merge branch 'misc-speedups'
* misc-speedups:
  fixed and reenabled and slightly optimized the JIT version of fcmpo/fcmpu.
  slightly more precise speed percent display (this is really minor)
  a small thread synchronization speedup for dual core mode. it's most noticeable in games where the CPU is running behind compared to the GPU.

Conflicts:
	Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp

The Fifo.cpp changes from rdaefb3b550e2 was not merged as there was no performance benefit.
2012-05-26 12:35:08 +10:00
Matthew Parlane
1bc5f41e40 Fixes issue 5428. Thanks delroth. 2012-05-18 17:57:28 +12:00
skidau
5a8ad92302 Changed a JMP that needed to be a far JMP in JITIL. 2012-05-15 09:32:21 +10:00
skidau
b27f471488 Invalidated the JIT cache when the dcbst instruction is used. 2012-05-13 21:07:03 +10:00
skidau
48bf5c739d Changed the block linker to work on physical addresses. Checked whether the code has changed before invalidating it. Fixes the cut-scenes in Tales of Graces.
Fixes issue 2933.
2012-05-12 21:43:39 +10:00
Pierre Bourdon
f567782b47 Implement a better heuristic to detect whether an ELF is for GC or Wii 2012-05-12 01:48:56 +02:00
skidau
0e812cb187 JIT32 fix.
Added wbfs to the File Open list.
2012-05-04 07:00:30 +10:00
skidau
7885e63deb Added wbfs support. Thanks to lordlyhobo for the patch. Fixes issue 859. 2012-05-04 00:09:01 +10:00
skidau
a1b3eaffb7 Reverted the ES changes from r0fc390b55226. Fixes the crash that occurred when loading a channel from the sysmenu. 2012-05-03 23:32:32 +10:00
skidau
e5d527340d Optimised the JIT path. 2012-05-03 23:17:15 +10:00
Pierre Bourdon
5e2d692cec Lock the DSP thread on its own core when using "Lock threads to cores" and "LLE on Thread". Greatly improves DSPLLE performance on Linux with >= 3 cores CPUs. 2012-05-02 07:19:14 +02:00
skidau
1b15cd0b60 Added preliminary support for ARAM memory map mode "4".
Fixes issue 3410.
2012-05-01 22:05:48 +10:00
skidau
2540fe0606 Fixed ARAM DMA overflow situations. Fixes issue 4952. 2012-05-01 21:31:21 +10:00
skidau
30d6d22816 Merge Conflicts:
Source/Core/Core/Src/PowerPC/PowerPC.cpp
2012-05-01 21:00:57 +10:00
skidau
d015f0926a Fixed a typo and some far jumps in the JIT. 2012-05-01 20:52:35 +10:00
skidau
d557c913e8 Reset the performance counters at the start of the each block. 2012-05-01 20:42:01 +10:00
skidau
389823a749 Changed the performance monitor check to a compile time check instead of run-time. 2012-05-01 20:42:00 +10:00
skidau
cdace9d776 Added preliminary support for the Gekko CPU Performance Monitor. Fixes Harry Potter and the Prisoner of Azkaban. 2012-05-01 20:42:00 +10:00
skidau
75fbbcae40 Merge branch 'JIT-Exceptions'
* JIT-Exceptions:
  JitIL code cleanup
  Changed the JIT code to make the FPU exception timing more accurate.  The exception is now triggered at the first FP instruction instead of the start of the block. Rearranged the JIT exception code for a tiny speed-up.  Only external exceptions are checked at the end of the block.  All other exceptions are checked at the time they occur.

Fixes issue 5382.

Conflicts:
	Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp
2012-05-01 20:35:12 +10:00
skidau
05040379e9 JitIL code cleanup 2012-05-01 20:26:05 +10:00
skidau
15d3c45159 Reset the performance counters at the start of the each block. 2012-04-29 00:10:20 +10:00
skidau
853d12b42c Changed the performance monitor check to a compile time check instead of run-time. 2012-04-28 22:47:55 +10:00
skidau
103e73030f Added preliminary support for the Gekko CPU Performance Monitor. Fixes Harry Potter and the Prisoner of Azkaban. 2012-04-28 20:42:45 +10:00
skidau
8878ae5fc3 Merge branch 'AudioStreaming'
* AudioStreaming:
  Reset the stream playing flag on init.
  force VolumeDirectory to align files to 32KB (only streaming audio files really need to be aligned...)
  Removed the DTK Music option.  It is now always enabled.
  Added the response for audio streaming disc offset requests.  Generate an AI interrupt at the end of the audio streaming loop.  Fixes Pac-man Fever and the background music in Eternal Darkness.
  Fixed the erroneous looping in audio streaming games like Eternal Darkness and Zoids: Battle Legends.  Thanks for the tip, tueidj.
2012-04-23 22:40:58 +10:00
skidau
f0e1b4c1dd Reset the stream playing flag on init. 2012-04-23 22:15:23 +10:00
Shawn Hoffman
26521aa66a force VolumeDirectory to align files to 32KB (only streaming audio files really need to be aligned...) 2012-04-23 00:50:44 -07:00
skidau
f0a5214a3f Added the response for audio streaming disc offset requests. Generate an AI interrupt at the end of the audio streaming loop. Fixes Pac-man Fever and the background music in Eternal Darkness. 2012-04-23 04:47:31 +10:00
skidau
8ff3954069 Added the memcheck for stXx. 2012-04-21 21:38:57 +10:00
skidau
7038a841bd Fixed the erroneous looping in audio streaming games like Eternal Darkness and Zoids: Battle Legends. Thanks for the tip, tueidj.
Fixes issue 5378.
2012-04-21 15:50:07 +10:00
Matthew Parlane
0fc390b552 Modify state.dat before launching wads. Fixes Liight, maybe others. If in doubt, install the wad to the nand. 2012-04-21 16:21:13 +12:00
skidau
13b66df125 Changed the JIT code to make the FPU exception timing more accurate. The exception is now triggered at the first FP instruction instead of the start of the block.
Rearranged the JIT exception code for a tiny speed-up.  Only external exceptions are checked at the end of the block.  All other exceptions are checked at the time they occur.
2012-04-15 21:34:15 +10:00
skidau
a488b2c0ca Fixed the rerecord counter when using more than one save state. Patch by rdragoon. 2012-04-13 19:50:44 +10:00
Jordan Woyak
722480cb2e Fix compilation with g++ 4.7 and some warnings. Fixes issue 5347. 2012-04-07 15:45:32 -05:00
skidau
5d9ac22d58 Added a "Keep window on top" option in the graphics options. 2012-04-08 10:29:49 +10:00
LPFaint99
87954dacad Revert part of r6bfb8c9597dc so new memory card files will be created.
some how  I neglected to remember that r+ requires the file to exist.
 still should fix the issue with 0 byte memory cards.
This reverts commit 6bfb8c9597dc0086c406d02d391307e37cf9d4f0.
2012-04-05 21:43:05 -07:00
Shawn Hoffman
702905131b follow-up for last commit: don't warn about the EUART init commands. 2012-04-03 03:54:17 -07:00
Shawn Hoffman
423cdb6398 fixes issue 5335 2012-04-03 03:26:06 -07:00
skidau
f7ce27c91d Fixed the audio streaming "blocks left" register by making it zero-based. Fixes DreamMix TV World Fighters (GameCube). 2012-04-02 22:14:11 +10:00
LPFaint99
6bfb8c9597 small fix to writing memorycards, open as r+b so the file is not cleared when opening. should eliminate the 0byte memory card files reported http://forums.dolphin-emulator.com/showthread.php?tid=21964 http://forums.dolphin-emulator.com/showthread.php?tid=22631 http://forums.dolphin-emulator.com/showthread.php?tid=22098 2012-03-31 14:03:19 -07:00
Matthew Parlane
5c27e27a4a Oops how did that compile... 2012-03-31 16:26:41 +13:00
Matthew Parlane
763916a779 Comments about DVDLowAudioBufferConfig 2012-03-30 20:13:29 -07:00
Matthew Parlane
404a6b9ba8 Fixes issue 5330. 2012-03-30 20:10:48 -07:00
LPFaint99
f7c17c6351 Merge branch 'GCMemcardFixes' 2012-03-29 14:39:01 -07:00
NeoBrainX
2356def0d4 Merge branch 'fifoplayer_updates'.
This adds an "Analyzer" tab to the fifoplayer dialog which allows to conveniently browse through all register pokes that are being sent by the game each frame.
There's also a search function, but it doesn't work all that well for anything but simple searches at the moment. However, I'm merging this anyway since I'm not sure if I'm going to finish this.

Note that due to recent fifo changes, it's not yet possible to run fifoplayer in dual-core mode.
2012-03-29 22:50:45 +02:00
Sacha
5f85815922 Remove inherited variable that was no longer used. Clean up. 2012-03-29 17:01:59 +10:00
Shawn Hoffman
2ee5e5cebc Merge branch 'scons-removal' 2012-03-28 00:02:04 -07:00
Shawn Hoffman
48eb791a4e Merge remote-tracking branch 'timowiren/master' 2012-03-25 13:21:25 -07:00
Shawn Hoffman
48bfca3c86 Merge remote-tracking branch 'adlr/macwiimote' 2012-03-25 13:15:38 -07:00
Shawn Hoffman
d15740daf1 Merge branch 'wxw3-update' 2012-03-25 12:27:38 -07:00
Timo Wiren
cb92805445 Spaces to tabs. Removed a comment. 2012-03-25 13:01:26 +03:00