skidau
5a8ad92302
Changed a JMP that needed to be a far JMP in JITIL.
2012-05-15 09:32:21 +10:00
NeoBrainX
54aeec7a8f
Dump the redundant "save textures" function. Use TextureCache's dumping feature instead.
2012-05-13 17:48:23 +02:00
NeoBrainX
72e83140f0
TextureCacheBase: Remove the texture size limit for custom textures. Only the GPU restrictions for maximum texture size remain.
2012-05-13 17:43:14 +02:00
NeoBrainX
41d37ab0a0
TextureCacheBase: Support loading custom mipmaps.
2012-05-13 17:42:22 +02:00
NeoBrainX
a5e68ab10e
TextureCacheBase: Support dumping individual mipmaps.
2012-05-13 17:41:04 +02:00
NeoBrainX
a8ad59ee3e
TextureCacheBase: Move texture dumping to a helper function.
2012-05-13 17:41:03 +02:00
NeoBrainX
3ecc5e879c
TextureCacheBase: Move custom texture loading to a helper function
2012-05-13 17:41:03 +02: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
Pierre Bourdon
04bde406d3
Fix DVD root path for Wii games. Now Wii games can be booted using extracted files instead of a disc image.
2012-05-11 22:19:57 +02:00
skidau
ec0ddb476e
Fixed texture encoding in DX11. Thanks to wordmanwords for the patch.
2012-05-06 10:51:38 +10:00
skidau
1587cb3738
Fixed texture encoding. Fixes the interaction with objects in Another Code R. Thanks to wordmanwords for the patch.
...
Fixes issue 5405.
2012-05-05 11:21:05 +10:00
Pierre Bourdon
77f47866df
Add Wii DVD integrity checking to Dolphin
...
This allows users to easily check whether their Wii dump is corrupted or not
using the Dolphin properties window. Right click on a game, Properties,
Filesystem tab, then right click on the game partition and select "Check
partition integrity".
This may have some false negatives due to the unused clusters heuristic (see
the comment in VolumeWiiCrypted.cpp). False positives are unlikely.
2012-05-04 16:27:42 +02:00
orphis
6254edcfbc
Add the missing *.wbfs extension to the file picker.
2012-05-03 22:27:06 +00: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
skidau
d7f468a781
Applied the "Hide cursor" fix to the Pause button.
2012-05-03 20:57:22 +10:00
Glenn Rice
40640217f1
Fix hide mouse cursor on linux.
...
Fix emulator window position when rendering to main on linux.
Allow building against wxWidgets 2.9.3 on linux.
2012-05-02 14:40:40 -05:00
Billiard26
1974938c5a
Fix DirectInput D-Pad handling.
2012-05-02 06:31:38 +00:00
Pierre Bourdon
beb4204bbb
Include libavutil/mathematics.h explictly in AVIDump.cpp. Fixes issue #5266 .
2012-05-02 07:29:15 +02: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
330f63df80
Corrected the file offset within the FST of virtual disks (used by the DVD Root path function).
2012-04-28 11:21:55 +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
5ceef0c513
Removed the DTK Music option. It is now always enabled.
2012-04-23 05:02:43 +10: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
Pierre Bourdon
c08510baa8
wxWindow::FindFocus() sometimes return NULL, check for that to avoid segfaulting
2012-04-15 02:24:41 +02: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 6bfb8c9597
.
2012-04-05 21:43:05 -07:00
rodolfoosvaldobogado
5650b3b5f6
more fixes. take in account when depth textures are used and alpha test fails :)( i really forgot that).
2012-04-03 15:08:58 -03:00
rodolfoosvaldobogado
4fafbd0700
Fix for my last commit thanks to Lolaker for pointing the error
2012-04-03 09:56:11 -03: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
rodolfoosvaldobogado
6a446efd5f
Second Stage: re implement zcomplock and correct all the logic error in PixelShaderGen.cpp. i disable fastzcomlock for the moment to avoid confusions.
...
please test for regressions
2012-04-03 00:08:36 -03:00
rodolfoosvaldobogado
a0d60210fd
First Stage:
...
Fix depth related errors in dstalpha pass.
best place to test: water splash effect in super mario galaxy
2012-04-02 14:26:12 -03: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
skidau
995a84e06a
Removed CGDisplayCapture from the OSX fullscreen mode code, fixing full-screen mode. Thanks to celgilles for the patch.
...
Fixes issue 5331.
2012-03-31 13:48:40 +11:00
NeoBrainX
460610ea0e
Revert Rodolfo's recent zcomploc commits until they actually work correctly.
...
This reverts commit 402006a83a
.
This reverts commit 48d8d71391
.
This reverts commit 450dcc9d2c
.
2012-03-30 01:57:53 +02:00
LPFaint99
f7c17c6351
Merge branch 'GCMemcardFixes'
2012-03-29 14:39:01 -07:00
rodolfoosvaldobogado
402006a83a
more fixes to zcomplock and opengl implementation
2012-03-29 18:26:58 -03:00
NeoBrainX
6ee6d0088a
Merge branch 'zfreeze-new'
2012-03-29 23:02:27 +02: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
NeoBrainX
04c2f2382f
FifoPlayerDlg: Don't use wxString::fromAscii()
2012-03-29 21:50:21 +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
rodolfoosvaldobogado
48d8d71391
Fix for my last commit, this must fix the problem in the algorithm pointed by neobrain. thanks
2012-03-27 23:14:59 -03:00
rodolfoosvaldobogado
450dcc9d2c
As requested, this is my implementation of zcomploc using a multi-pass algorithm. My apologize to the others devs for committing in the main branch but is the only way to get this tested as soon as possible.
...
please test for regressions, speed and for other issues fixed, as a example, the black color in water splash in super mario galaxy are fixed with this rev.
please as soon as yo find a bug let me know.
2012-03-27 15:44:58 -03: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
skidau
f30aebf8d7
Added a check for TMEM overflows while preloading textures. Thanks to NeoBrainX for the tip.
2012-03-25 21:35:57 +11:00
Timo Wiren
cb92805445
Spaces to tabs. Removed a comment.
2012-03-25 13:01:26 +03:00
skidau
fa2b4cd8fc
Quick fix for minimum number of cheat codes needed to activate Gecko.
2012-03-25 04:13:41 +00:00
rodolfoosvaldobogado
9ed83765e6
long time no commits :)
...
a little code cleaning to avoid duplicated execution of AlphaPreTest and a little correction to some comments from the previous commits.
this change must behave exactly like last revision, if something is broken please let me know
2012-03-25 00:01:47 -03:00
Pierre Bourdon
c662b8ee2f
Bump the shader cache version
2012-03-24 20:46:40 +01:00
Pierre Bourdon
b5ba2eb030
Merge branch 'master' into zcomploc-support
2012-03-24 18:41:51 +01:00
Timo Wiren
11959a3781
Matching new and delete.
2012-03-24 19:41:13 +02:00
NeoBrainX
7a1744575d
D3D9: Fix texel to pixel mapping when sampling textures properly.
2012-03-24 17:23:03 +01:00
NeoBrainX
fee98b426b
Revert r41bcf657f89d, r3a9fed0ba285, r9adc119e3c2f and re58692653afd (all of them are wrong).
2012-03-24 15:58:44 +01:00
NeoBrainX
2afe605069
D3D11: Disable mipmapping when no mipmap filter is selected.
2012-03-24 06:04:00 +01:00
skidau
33e20cf76d
Added a check for active Gecko codes before installing the Gecko code handler.
...
Fixes issue 5279.
2012-03-23 23:36:23 +11:00
skidau
41bcf657f8
Adjusted the DX9 offset of the Sampling address to more closely match what we are seeing in games.
...
Fixes issue 5305.
2012-03-23 23:20:19 +11:00
skidau
c4fbb6e377
Checked PRELOAD_MODE to determine if TMEMODD or TMEMEVEN should be used.
...
Fixes issue 5212.
2012-03-23 22:10:48 +11:00
Shawn Hoffman
fab037446c
Forward "raw" reads of GC discs to the normal read function, since they are not encrypted in the first place.
2012-03-22 23:04:45 -07:00
Andrew de los Reyes
d3361494ce
WiiremoteReal for Mac: Find Wiimotes by name.
...
The decided way to find Wii Remotes is by their bluetooth name, so
this patch introduces common code to identify if a given string is a
valid Wiimote name.
On Mac, when scanning bluetooth, consult the function with all found
bluetooth devices.
2012-03-22 20:55:41 -07:00
Andrew de los Reyes
93b78d7139
WiimoteReal for Mac: Send commands on interrupt channel.
...
There are two ways to send commands to Wii Remotes:
- On command channel, with a first byte of 0x52. This works on
Nintendo RVL-CNT-01, but not Nintendo RVL-CNT-01-TR wiimotes.
- On interrupt channel, with a first byte of 0xa2. This works on
Nintendo RVL-CNT-01 and Nintendo RVL-CNT-01-TR wiimotes.
This patch switches Mac from the former to the latter. Windows and
Linux remain unchanged.
2012-03-22 20:17:28 -07:00
Andrew de los Reyes
af8690a7d8
Revert "Add Support for Wii Motion Plus INSIDE Wii Remotes on Mac OS X."
...
This reverts commit c9dfcf8cf7
.
That commit attempted to support all Wii Remotes on Mac OS X, but the
logic was incorrect, and as a result the original (non-TR) Wii Remotes
were broken by that change.
Future patches will address this problem in a better way.
2012-03-22 20:06:52 -07:00
Shawn Hoffman
36f3962551
small fix for last commit - didn't notice that was an #elif instead of #if
2012-03-22 18:57:30 -07:00
Shawn Hoffman
56b1373baf
Remove scons-related files
2012-03-25 12:55:02 -07:00
Shawn Hoffman
5bf99f461b
Add some padding to the GameList column sizes on non-MSW.
...
These underlying controls seem to insert 8px of divider between each column.
2012-03-22 18:45:11 -07:00
Shawn Hoffman
7d57b925e6
Disable wxHAS_MSW_TASKDIALOG because as of wxW svn r70933,
...
there is a bug with the wxPD_AUTO_HIDE style which can cause a non-dolphin
window to come to the foreground after auto-closing of the TaskDialog.
2012-03-24 20:59:20 -07:00
Shawn Hoffman
e0941828f5
Fix uglies on gcpad/wiimote config pages.
...
Use wxPanel in place of wxNotebookPage (which is really just a typedef for wxWindow). This applies the correct background color for the page.
2012-03-23 00:27:54 -07:00
Shawn Hoffman
f7423a0a4f
Merge branch 'master' into wxw3-update
...
Conflicts:
Source/Core/DolphinWX/Src/LogWindow.cpp
2012-03-22 17:57:38 -07:00
Pierre Bourdon
5242f09104
Fix Linux build: search for gthread-2.0 and pangocairo, then add both these libs to wx dependencies
2012-03-23 01:06:45 +01:00