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
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
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
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
LPFaint99
9c9e593479
fix crash on windows while changing exi/si devices when interface language is Japanese or Chinese
2012-03-22 14:52:20 -07:00
Pierre Bourdon
339ee98e62
Add a comment before the zcomploc test explaining the implementation/hack
2012-03-22 22:10:23 +01:00
Pierre Bourdon
0ffc12bbfd
Merge branch 'master' into zcomploc-support
...
Conflicts:
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
2012-03-22 15:21:52 +01:00
Matthew Parlane
d95e31af3f
Fixes issue 4932 AGAIN :D
2012-03-22 22:52:12 +13:00
skidau
006923e871
Disabled zcomploc while update_enable has been set in zmode. Fixes zcomploc in F-Zero GX.
2012-03-22 20:36:41 +11:00
Matthew Parlane
2d75d7a8be
Fixes issue 5278. Thanks to megazig for finding the bug :)
2012-03-22 21:15:05 +13:00
Matthew Parlane
dc1cde4581
Re-enabled stfs, was caused by fast fp, thanks delroth!
2012-03-22 17:25:43 +13:00
Pierre Bourdon
70b6c4280f
Compile with /fp:precise instead of /fp:fast in release mode on Windows
...
/fp:fast was introducing FP precision problems, and mixing it with some
/fp:precise code caused strange game behaviors, DSI exceptions and freezes.
This commit should fix most of the issues introduced by 3.0-73 (r95517a97).
Thanks to hatarumoroboshi@hotmail.com for tracking a lot of these Win32 bugs.
Fixes issue 4906.
Fixes issue 5138.
Probably fixes (not tested) issue 5067.
2012-03-21 22:43:44 +01:00
NeoBrainX
6202714efd
Fix some regressions from r3b38295cbd08.
2012-03-20 22:36:21 +01:00
skidau
5e2fd45203
Merge fix
2012-03-20 21:01:15 +11:00
skidau
a60a0825a3
Merged 'FifoBusy' branch. Thanks
...
to marcosvitali.
Added an external exception check when the CPU writes to the FIFO. This allows
the CPU time to service FIFO overflows. Fixes random hangs caused by FIFO
overflows and desyncs like in "The Last Story" and "Battalion Wars 2". Thanks
to marcosvitali for the research.
Added some code to unlink invalidated blocks so that the recompiled block can be
linked (speed-up).
This release still fixed the hangs produced by fifo overflow without sacrifice
performance. For example you can test Tutorial moves at the beginning of The last history now
is fluid 30/60.
Fixed possibles random hangs in DC mode.
Fixed hangs in DC mode in (Simpsons, Monkey Island, Pokemon XD, etc)
Implemented accurate management of Pixel Engine Interrupts. Now the GPU loop
is stopped when a PE Interrupt needs to be managed and resumed when Pixel Engine
finish.
Fixed Metroid Prime 3 and 2 desync. And other games with desync because of
FIFO Reset. That happens because FIFO_RW_DISTANCE_HI must be written first, for checking
fifo.CPReadWriteDistance == 0, so some fifo resets was not managed in the right
way.
Fixed Super Monkey Ball in some cases when the game write the
WriteReadDistance need to be safe like the SafeCPRead.
Improved the CheckException for the GatherPipe writes in JIT, now only the
External Exceptions are processed.
Fixed definitely Pokemon XD in dual core mode. This game is doing something
not allowed. It attach to CPU the same fifo attached to the GPU in multibuffer
mode. I added a check to prevent overwrite the GPU FIFO with the CPU FIFO. If
the game do that on breakpoint the solution can fail.
Fixed ReadWriteDistance calc when CPRead > CPWrite.
Added Token and Finish cause to GP Jit checking.
Additional cleanup in CommandProcessor.
Fixes issue 5209
Fixes issue 5055
Fixes issue 4889
Fixes issue 4061
Fixes issue 4010
Fixes issue 3902
2012-03-20 19:37:25 +11:00
Matthew Parlane
14ea442382
srawx fixed thanks to boo toe.
2012-03-20 19:51:42 +13:00
Shawn Hoffman
c0992cc73e
Build fix:
...
Don't use isascii() - just do it ourselves
Bump required wxw version (for shared libs)
There still seems to be linking issues on some linux distros, I can't reproduce it though...
2012-03-19 23:16:01 -07:00
Shawn Hoffman
dd5df17688
forgot to save my buffer :(
2012-03-19 12:07:47 -07:00
Shawn Hoffman
cf52029b51
Check if the game's ID is valid before accessing it to set the ntsc u/j register. Prevents discs without a real ID from crashing dolphin.
2012-03-19 11:12:40 -07:00
Shawn Hoffman
ff6023df27
Change wxString(<string>, wxConvUTF8) method of creating unicode from filenames to wxSafeConvertMB2WX()
...
(Just applied to FrameTools.cpp for now)
Allows one to properly restart Pokémon by hitting play :P
Ignore non-ASCII strings passed to DisplayMessage(). These strings would end up going to renderer display and statusbar/titlebar, which can't handle them properly.
2012-03-19 10:37:15 -07:00
Shawn Hoffman
4a1e8ba30a
sigh...fix #ifdefs in last commit...
2012-03-19 07:46:23 -07:00
Shawn Hoffman
05c964e6d6
wxw3: OSX can use the same method of hiding cursors as MSW
2012-03-19 07:40:27 -07:00
Shawn Hoffman
35a5a3b9d4
Fix "Hid cursor" causing a wxWidgets warning
2012-03-19 06:54:02 -07:00
Shawn Hoffman
c3a537728f
Don't allow wiimote config while in Gamecube mode
...
Fixes crash when attempting to open emulated wiimote config in Gamecube mode
2012-03-19 06:03:23 -07:00
Matthew Parlane
418f46ea72
Fixed memory leak. And added braces to match the rest of the switch statement in FileIO.
2012-03-19 18:08:16 +13:00
marcosvitali
20eca1bf7e
Ive fixed definitely Pokemon XD in dual core mode. This game is doing something not allowed. It attach to CPU the same fifo attached to the GPU in multibuffer mode. I added a check to prevent overwrite the GPU FIFO with the CPU FIFO. If the game do that on breakpoint the solution can fail.
...
Fixed ReadWriteDistance calc when CPRead > CPWrite.
Added Token and Finish cause to GP Jit checking.
2012-03-18 22:54:58 -03:00
Andrew de los Reyes
d6d52920ec
Fix segfault in LogWindow on Mac
...
Commit 9ddb67d4a9
seems to have
introduced a segfault on Mac. The issue is that it this change casts
wxConvCurrent (which is a wxMBConvLibc) to a wxCSConv. This is an
unsafe cast because wxCSConv has member variables, but wxMBConvLibc
does not.
In LogWindow.cpp, the constructor for m_SJISConv is dereferencing one
of those member variables, which is a dereference of uninitialized
memory!
This CL reverts to the older (non-crashing) constructor, but keeps the
behavior the same.
2012-03-18 15:11:34 -07:00
Shawn Hoffman
c5d746f3d8
remove scons files from VS projects
2012-03-18 06:41:12 -07:00
Shawn Hoffman
483d15a9c3
fix Common lib re-linking all the time
...
rename wxBase28 project to wxWidgets
2012-03-18 05:47:55 -07:00
skidau
cfbcaa2cc6
Linux build fix
2012-03-18 23:37:38 +11:00
Shawn Hoffman
d9a7510937
forgot to add wxwidgets3 vcxproj to git, since it was masked by gitignore...
...
fix up misc warnings and build errors
2012-03-18 03:30:03 -07:00
Shawn Hoffman
ff63c689d6
wxMSW no longer allows overriding OnPaintDrawImages, so remove the msw-specific drawing code from the GameListCtrl (it's rendered correctly by default)
2012-03-18 02:33:03 -07:00
Shawn Hoffman
c3d13b048c
build against wxWidgets3 from Externals on Windows.
...
use Externals version of libpng on Windows.
2012-03-18 02:31:19 -07:00
Matthew Parlane
8479d5bdf7
Some code clean up. I am terrible at coding styles...
2012-03-18 21:50:07 +13:00
Matthew Parlane
6fe495e1aa
Fixed Pokepark 2! Maybe... :D Don't trust save states, although I think they are correct. File fd's were too large. Let me know if file related loading stops working in some games. fds are many to 1, not 1 to 1. ES has two instances available at a time. Sadly a clean up requires changing IWII_IPC_HLE_Device Constructor, as a deviceID doesn't make much sense per device. I won't do this until we have less branches :|
2012-03-18 21:00:23 +13:00
Shawn Hoffman
8bdf93a15c
fix logwindow crash
2012-03-17 21:51:24 -07:00
Shawn Hoffman
1fbf2e38c4
wxw implements wxEVT_THREAD itself now
2012-03-17 21:50:40 -07:00
Shawn Hoffman
a648aca65c
wxWidgets3: update to svn r70933
2012-03-17 21:47:47 -07:00
skidau
05692b1e7e
Sped up to the Dolphin debugger by not checking for breakpoints when stepping.
...
Fixed the JIT cache, invalidating one instruction length at a time.
Fixed a bug where the JIT cache did not get invalidated when stepping.
Disabled fused instructions in the debugger.
2012-03-16 20:08:05 +11:00
skidau
8ed6ea3b07
Sped up the Dolphin debugger in JIT mode by splitting a block only while stepping or when it contains a breakpoint. The block is invalidated when a breakpoint is set or cleared.
...
Fixed a bug in the JitCache where the JIT icache was not being invalidated when a block containing the instruction was destroyed.
2012-03-15 21:48:19 +11:00
skidau
0ed8af2287
Forced reload of the native Gecko Code handler if the game overwrites it.
...
Fixes issue 5225.
2012-03-13 23:41:40 +11:00
skidau
dc79d68e72
Added the corresponding change from r352ab2ba4394 into JITIL.
...
Tidied some code.
2012-03-13 22:35:11 +11:00
Matthew Parlane
b37c468039
Fixes issue 5269
...
Sorry guys but I needed to disable stfs so that Pokepark 2 would not freeze(?). Feel free to put some effort in to finding out why, I do not understand Jit sorry.
2012-03-13 23:42:30 +13:00
marcosvitali
352ab2ba43
Improved the CheckException for the GatherPipe writes in JIT, now only the External Exceptions are processed.
...
We Didn't Check 0x0008000 in PowerPC::ppcState.msr this was killing the performance, this also fix a hang when this check is performed.
SMG for example.
Deleted the HiWatermark condition from GPFifo.
Please test games affected in this Revision 9e649ce798
, and games affected in this Revision b0f75f17ae
.
I do not want to excite the game players of 'The Las Story', but Could test again the random hangs with this rev?
Thanks
2012-03-13 01:44:10 -03:00
marcosvitali
fedf6055ce
I've fixed Super Monkey Ball in some cases when the game write the WriteReadDistance need to be safe like the SafeCPRead.
...
This fix is not related with the previous commits, but the previous commits help me to see that because in the new scenery SMB was hanging. May be in the past also doesn't boot some times because of that.
Please Test FZero boot also. Thanks.
2012-03-11 12:40:39 -03:00
skidau
bf76b802a7
Fixed the in-built Dolphin profiler.
2012-03-10 16:24:13 +11:00
marcosvitali
104603467b
This commit fix games hanging because of my prior Revision c2e6fdf09f
...
The external exceptions in dolphin are checking frequently but is different to real HW, so sometime the game is in a loop checking GPU STATUS, the exceptions doesn't checked, and the game hang.\
For solve this I need a trick: still waiting for the exception handler be linked but if CommandProcecsor is reading the GPStatus, resume this.
This fixed "TimeSplitters: Future Perfect" broken in the Revision c2e6fdf09f
and surely others games.
2012-03-09 18:58:23 -03:00
marcosvitali
41652d6b1f
I've fixed Metroid Prime 3 and 2 desync. And other games with desync because of FIFO Reset.
...
That happens because FIFO_RW_DISTANCE_HI must be written first, for checking fifo.CPReadWriteDistance == 0, so some fifo resets was not managed in the right way.
I didn't test Metroid 2 desync reported in Issue 4336 but I think is the same.
About the flickering in MP2, I don't know for my is not related or yes, but you can test anyway.
Fixed Issue 3902
Well now the FIFO is 99.99% finished :)
2012-03-09 01:33:29 -03:00
marcosvitali
c2e6fdf09f
- I've fixed possibles random hangs in DC mode.
...
- I've fixed hangs in DC mode in (Simpsons, Monkey Island, Pokemon XD, etc)
- I've implemented accurate manage of Pixel Engine Interrupts, now the GPU loop is stopped when a PE Interrupt needs to be managed and resume when Pixel Engine finish,
I think now, the Fifo in DC mode is more accurate than SC mode. :)
Time to close the big fifo Issue 3694 (snif), please if you have a possible fifo issue report this like a game issue.
I was working with Skid_AU together, especially thanks for him.
Test a lot all games, and compare the performance with the master maybe this accuracy has a cost (not a lot).
I think now the fifo is very stable, overflow fixed, random hang fixed, if you have a game with a hang with this rev and not in master please report this.
2012-03-08 02:47:55 -03:00
LPFaint99
6fc8cdf12d
revert r90a2096a24f4 behavior changes in PixelEngine.cpp. Thanks to Autoran1 for finding the responsible commit. Fixes Scrubbing Serena Beach Countdown in both SC and DC.
...
Fixes issue 1498.
2012-03-07 20:08:14 -08:00
Matthew Parlane
880992b10f
Fixed DoState and removed unneeded class variable.
2012-03-07 00:22:55 +13:00
Matthew Parlane
53d2d9718f
Fixes issue 2917 and possibly others like 5232
2012-03-06 23:32:13 +13:00
Matthew Parlane
e8e2c241d7
delroth pointed out that it should be "starts with" not "contains". Unlikely this has ever affected anyone....
2012-03-06 23:31:59 +13:00
Matthew Parlane
614c43029f
fixed files so they can have more than one handle opened at a time.
2012-03-06 23:31:48 +13:00
marcosvitali
b0f75f17ae
This release still fixed the hangs produced by fifo overflow without sacrifice performance.
...
For example you can test Tutorial moves at the beginning of The last history now is fluid 30/60.
Shuffle2: I've delete the hacky line, I think is not necessary anymore. Additional some clean in CommandProcessor.
Please test The Last Story and others games affected in the previous commits and give me a feedback.
2012-03-05 02:40:10 -03:00
skidau
a53916ff5d
Changed the detection of FIFO write addresses to writes at the gather pipe boundary. This speeds up games which frequently write to the gather pipe like the pre-rendered movies in The Last Story.
...
Added some code to unlink invalidated blocks so that the recompiled block can be linked (speed-up).
2012-03-04 23:42:33 +11:00
skidau
5de8366db2
Made the invalidation of the FIFO write JIT blocks more selective (efficient). Fixes the slowdown in the House of the Dead: Overkill cutscenes.
2012-03-04 08:10:46 +11:00
Henrik Rydgard
f5d4fe0bfe
Fix some minor bugs pointed out by PVS Studio (thanks!)
2012-03-03 20:07:20 +01:00
skidau
874e17e504
Added the corresponding change from r9e649ce79850 to JITIL.
2012-03-03 15:41:55 +11:00
skidau
9e649ce798
Added additional checks to ensure that only a FIFO breakpoint exception is handled. This fixes the hangs in games like de Blob, Xenoblade and Super Mario Galaxy introduced by r9e398fd41802.
2012-03-03 14:26:39 +11:00
skidau
9e398fd418
Added an external exception check when the CPU writes to the FIFO. This allows the CPU time to service FIFO overflows. Fixes random hangs caused by FIFO overflows and desyncs like in "The Last Story" and "Battalion Wars 2". Thanks to marcosvitali for the research.
...
Fixes issue 5209.
Fixes issue 5150.
Fixes issue 5055.
Fixes issue 4889.
Fixes issue 4061.
Fixes issue 4010.
Fixes issue 3902.
2012-03-02 18:53:41 +11:00
Jordan Woyak
ee09def802
Merge branch 'cpp11'
2012-02-28 00:28:13 -06:00
Jordan Woyak
38823b6371
Add comment here so people know what's up.
2012-02-28 00:27:16 -06:00
NeoBrainX
c3293b1a1c
Improvement to revision b8bef29bcc
.. :P
2012-02-25 10:59:00 +01:00
skidau
b8bef29bcc
Fixed a divide by zero error in the hash functions
2012-02-25 20:36:49 +11:00
Jordan Woyak
f92d1e1e93
fix some clang compilation errors
2012-02-24 14:25:02 -06:00
Jordan Woyak
8a8dc77ef1
enable c++11 compilation in cmakelists
2012-02-24 14:19:24 -06:00
Jordan Woyak
f15aeb26b3
Use an auto typed variable in IniFile.cpp
2012-02-24 19:20:17 -06:00
NeoBrainX
3a9fed0ba2
PixelShaderGen: Fix a bug introduced in revision 9adc119e3c
.
...
D3D11: Fix shader constant mapping.
2012-02-21 12:51:41 +01:00
NeoBrainX
9adc119e3c
PixelShaderGen: For custom textures and scaled EFB copies, use correct texel to pixel mapping when sampling textures
...
(D3D9 only)
This is basically the same as revision e58692653a
, just for scaled textures and with a LOT more work...
2012-02-20 20:32:08 +01:00
NeoBrainX
e58692653a
PixelShaderGen: Use correct texel to pixel mapping when sampling textures
...
(D3D9 only)
Fixes issue 2068.
Fixes issue 5158.
2012-02-17 17:09:17 +01:00
parlane
bea635d1d5
Fixes issue 5214 for real!
2012-02-15 20:56:50 +00:00
LPFaint99
643770bff9
more work towards correct file importing
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:40:53 -08:00
LPFaint99
e68b892cc6
more changes from u8[] to u16/u32
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:40:45 -08:00
LPFaint99
ebdab914cb
Change UpdateCounter to u16
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:40:34 -08:00
LPFaint99
0aeb94d3be
disable changing a dentry to "broken file" before removing it, the ipl does not always do this
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:40:18 -08:00
LPFaint99
3d20c57458
Update directorys and BlockAllocs correctly, use the most uptodate directory/bat instead of always the first
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:40:03 -08:00
LPFaint99
1fe67e19ab
use BAT for block locations instead of assuming nonfragmented blocks *untested*
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:39:45 -08:00
LPFaint99
8355363dcd
change the data section from a plain array to a vector of blocks (arrays of 0x2000)
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:39:23 -08:00
LPFaint99
dfe890e8f1
pass by reference instead of pointer in several places,
...
return std::strings instead of filling a buffer,
move gci filename generation to a function inside gcmemcard instead of the gui code
change all functions that do not modify the object to const
Conflicts:
Source/Core/Core/Src/HW/GCMemcard.cpp
Source/Core/DolphinWX/Src/MemcardManager.cpp
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:39:10 -08:00
LPFaint99
d5c393fe96
initial work on displaying, exporting, and deleting from
...
memory cards that have gaps in the fst
Conflicts:
.gitignore
Source/Core/DolphinWX/Src/MemcardManager.cpp
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:38:55 -08:00
LPFaint99
98993bfbd3
fix the twocardsloaded settings, correctly disables the copy functions when only one card is loaded
...
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
2012-02-12 14:38:44 -08:00
Andrew de los Reyes
c9dfcf8cf7
Add Support for Wii Motion Plus INSIDE Wii Remotes on Mac OS X.
...
This patch makes a few changes necessary for support for the new Wii
Remotes:
- For all OSes:
- Adds a new bool member variable m_motion_plus_inside to identify
the new Wii Remotes.
- If we have a new Wii Remote, use a head byte of 0xa2. We could
just change this behavior for all Wii Remotes, but an existing
comment suggests that would break 3rd party Wii Remotes.
- On Mac OS X:
- Expand the search criteria for the bluetooth scan. This is
necessary because the new Wii Remote identifies with minor class
kBluetoothDeviceClassMinorPeripheral2Gamepad, but the old Wii
Remotes use minor class
kBluetoothDeviceClassMinorPeripheral2Joystick (1).
- Send commands on the interrupt channel, not the control
channel. The new Wii Remotes require this; old ones are compatible
with this. Note: 3rd party Wii Remots are untested with this
change; the hope is they are still functional.
- Get the name of the bluetooth device and see if it ends in
"-TR". If so, set a member variable so we know it's the new kind
of Wii Remote.
This should fix issue 5011 for Mac OS X:
http://code.google.com/p/dolphin-emu/issues/detail?id=5011
2012-02-09 11:42:42 -08:00
skidau
25eae39b7c
Rearranged the SSE detection. Patch by lordlyhobo.
...
Fixes issue 5172.
2012-02-06 20:51:24 +11:00
skidau
8f83a89416
Removed the busy-wait from DSP LLE on thread. Reduces the CPU usage in this scenario by around a third.
2012-02-05 17:18:11 +11:00
skidau
c53283185d
Added an error check for invalid contents in ES_OPENCONTENT. Fixes Jungle Speed and Doc's Punch Out.
...
Fixes issue 3035.
2012-02-05 16:16:33 +11:00
NeoBrainX
0bbb112298
Merge branch 'texcache-preload'
...
For further info, see revision 56ccfc5d9d4defb308e02a71d201aee9eef0a76e.
2012-02-04 13:19:48 +01:00
NeoBrainX
439613b833
TextureCacheBase: Remove a superfluous TODO (texture hashing takes care of that stuff)
2012-02-04 13:01:52 +01:00
skidau
ea2e0e9063
Added the HID2.WPE condition to dcbz. Fixes issue 5114.
2012-02-04 13:25:04 +11:00
NeoBrainX
eb01a110c9
Implement texture preloading
2012-02-03 21:21:13 +01:00
NeoBrainX
dabb35afce
Prepare texture preloading support
2012-02-03 21:20:34 +01:00
NeoBrainX
20a4735b4d
Update some license headers.
2012-02-02 14:02:39 +01:00
LPFaint99
5cfb03da26
Merge branch 'variousSmallFixes'
2012-02-01 16:50:09 -08:00
LPFaint99
d6de53f235
convert name, notes and creator to wxstring using *wxConvCurrent instead of FromAscii. fix issue 5069
2012-02-01 00:09:24 -08:00
LPFaint99
a78c5f984f
download codes for virtualconsole titles
2012-02-01 00:09:23 -08:00
LPFaint99
a0d6d68243
sysconf SetArayData use the minimum of the buffersize or the dataLength
2012-02-01 00:04:18 -08:00
LPFaint99
8e332948bf
less log noise from CNandContentLoader
2012-02-01 00:04:06 -08:00
LPFaint99
c3e46d5b45
partial fix for issue 4742
2012-02-01 00:03:57 -08:00
LPFaint99
60594c079d
allow just ejecting the disc by canceling the file dialog
2012-02-01 00:03:49 -08:00
LPFaint99
303d1b83eb
minor cleanup to /dev/es, fix for grabbing titleid from the disc, and es_gettitledir
2012-02-01 00:03:41 -08:00
LPFaint99
3fb42f6bb6
split adding the ticket to its own function (installing a wad)
2012-02-01 00:03:16 -08:00
NeoBrainX
d1605abfa9
Add license header for TextureCacheBase files
2012-01-31 19:52:02 +01:00
NeoBrainX
1446fb33d5
TextureCacheBase: Replace the efbcopy_state member variable of texture cache entries with a more general "texture type"
2012-01-31 19:52:02 +01:00
NeoBrainX
cf899781f9
TextureCacheBase: Update and improve documentation for EFB copies
2012-01-31 19:52:02 +01:00
NeoBrainX
b34b6e47f2
TextureCacheBase: Remove a redundant variable
2012-01-31 19:52:02 +01:00
NeoBrainX
9fed10fc75
Remove SaveTexture declaration in VideoCommon since it's only actually defined in OpenGL
2012-01-31 19:52:02 +01:00
NeoBrainX
3b38295cbd
TextureCacheBase: De-uglify hybrid EFB copies (documentation needs updating though)
...
TextureCacheBase: Fixed dynamic EFB copies being set to normal textures.
2012-01-31 18:09:35 +01:00
NeoBrainX
67129404dd
TextureCacheBase: Small bugfix
...
Added documentation for hybrid EFB copy stuff
2012-01-31 18:09:35 +01:00
NeoBrainX
5239ba88c9
TextureCache: Remove unsafe texture cache
2012-01-31 18:09:35 +01:00
NeoBrainX
8c2d87f668
TextureCacheBase: Move around stuff, add some TODOs
2012-01-31 18:09:35 +01:00
NeoBrainX
93dbd93a8d
TextureCacheBase: More cleanup...
2012-01-31 18:09:35 +01:00
NeoBrainX
0c1e015ec3
TextureCacheBase: Small change
2012-01-31 18:09:35 +01:00
NeoBrainX
f68ee87e0e
TextureCacheBase: De-uglify texcache entry lookup even more + documentation
2012-01-31 18:09:35 +01:00
NeoBrainX
dcf18fbaaf
TextureCacheBase: Force autogenerating mipmaps if custom textures are used
2012-01-31 18:09:35 +01:00
NeoBrainX
8bc9e443fd
TextureCacheBase: De-uglify entry lookup a bit
2012-01-31 18:09:35 +01:00
NeoBrainX
9c39952c34
TextureCacheBase: Kill deprecated entry member isNonPow2
...
TextureCacheBase: Add a TODO about a potential bug
2012-01-31 18:09:35 +01:00
NeoBrainX
94a8536b8c
TextureCacheBase: Simplify texture cache entry initialization
2012-01-31 18:09:34 +01:00
NeoBrainX
c5008fe9de
TextureCache: Renaming some variables
...
OGL: Fix a possible bug at texture dumping
OGL: Add a TODO about a possible bug
2012-01-31 18:09:34 +01:00
LPFaint99
04a7e33f0b
proper unicode literal and wstring to wxstring conversions.
...
Fixes issue 5156.
2012-01-27 00:30:52 -08:00
calc84maniac
fd616ccb0c
[Jit64] Register-based shift instructions optimized on 64-bit processors
2012-01-22 21:54:39 -05:00
calc84maniac
a7f3f61598
[Jit64] Constant unsigned division and constant multiplication optimizations. Also, signed division can now be recompiled.
2012-01-22 19:58:59 -05:00
NeoBrainX
2d6d73df95
[maintenance] Add a note explaining why we aren't emulating CP clear register writes.
...
For further reference, see also r700f5eabc752.
2012-01-21 14:58:29 +01:00
NeoBrainX
ad1a4d7ce3
FifoPlayer: Add a search function for the analyzer tab.
...
Also some tiny fixes.
2012-01-21 13:49:24 +01:00
NeoBrainX
ecb616f7ff
FifoPlayer: Make sure that we actually display "Yes" if some variable is true...
...
FifoPlayer: More consistency of output (display "0x" in front of hex numbers, write hex numbers in capital letters)
2012-01-21 13:49:24 +01:00
NeoBrainX
5eb24a51cf
FifoPlayer: Add a description label for the currently selected object command.
...
Requires adding such descriptions for all BP/CP/XF registers. For now, I added descriptions for EFB copy related BP registers.
2012-01-21 13:49:24 +01:00
NeoBrainX
8c62a56c71
FifoPlayer: Show full data of XF register loads (Did I do this correctly?)
2012-01-21 13:49:24 +01:00
NeoBrainX
700123c55b
FifoPlayer: Add an "Analyzer" tab which allows browsing through all rendered objects per frame and through all register setting commands per object
2012-01-21 13:49:24 +01:00
LPFaint99
96d56cd8ef
fix for memcard manager using sjis for ascii encoded string
...
thanks to gerbilsoft for finding my mistake, fixes issue 5148
2012-01-18 22:41:35 -08:00
Shawn Hoffman
bef3d7229e
Ensure comment strings in CBannerLoaderWii::SWiiBanner are null-terminated. Fixes issue 5012.
...
Signed-off-by: Shawn Hoffman <godisgovernment@gmail.com>
2012-01-17 23:59:48 -08:00
calc84maniac
79ca43226c
Added SHRD/SHLD x86 emitters, further optimized srawx
2012-01-09 00:10:13 -05:00
nitsuja
31ff1907a4
added an option to log to the attached Windows debugger (so e.g. NOTICE_LOG messages can show up in Visual Studio's output window)
2012-01-07 23:04:18 -08:00
nitsuja
1603bbb5f4
fixed and reenabled and slightly optimized the JIT version of fcmpo/fcmpu.
2012-01-07 22:23:59 -08:00
nitsuja
9ab69febe5
fix for stack corruption caused by certain DSP LLE JIT ABI calls.
...
if you were getting crashes or freezes as a result of using the "DSP LLE on Thread" option, this might fix that.
2012-01-07 20:46:41 -08:00
nitsuja
2368d88c65
slightly more precise speed percent display (this is really minor)
2012-01-07 20:24:11 -08:00
nitsuja
daefb3b550
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.
2012-01-07 20:22:48 -08:00
calc84maniac
8fb1a02f6b
Fixed small error for instructions with overflow enabled
2012-01-05 22:39:17 -05:00
calc84maniac
5a15d58964
Added emitters for BT/BTR/BTS/BTC x86 instructions, optimized extended arithmetic PowerPC instructions
2012-01-05 22:36:27 -05:00
calc84maniac
a7a6a1859e
subfex optimization when RD==RA
2012-01-05 19:07:31 -05:00
calc84maniac
60cddf0823
Fixed some BindToRegister calls (removing unnecessary MOV instructions for speedup)
2012-01-05 18:27:04 -05:00
calc84maniac
ecc63651c7
srawx/srawix optimizations
2012-01-04 14:06:19 -05:00
nitsuja
57d1c87a2d
Merge branch 'determinism-fixes'
2012-01-04 01:49:31 -08:00
nitsuja
39613a95a8
initialize the uninitialized
2012-01-04 01:36:09 -08:00
nitsuja
81a1efab8e
fixed an issue where the CPU sometimes single-steps an extra time after pausing
2012-01-04 01:33:38 -08:00
nitsuja
ced8ca7219
better support for RTC when recording
2012-01-04 01:33:35 -08:00
nitsuja
c6ce58ab64
fixed a wii recording desync
...
(some remote init code was running in playback but not recording)
2012-01-04 01:17:11 -08:00
nitsuja
fe5a82357a
fix potential wiimote playback desync
2012-01-04 01:16:45 -08:00
nitsuja
88df9d25a1
fixed potential crash in wii fileio
2012-01-04 01:13:46 -08:00
calc84maniac
363cf39ca9
Got rid of no-longer-valid assert 'W T F !!!'
2012-01-04 02:27:04 -05:00
calc84maniac
415aad3b03
Fixed some GCC compiler warnings
2012-01-03 10:57:58 -05:00
calc84maniac
f9f9bb9870
Merge branch 'master' of https://code.google.com/p/dolphin-emu
2012-01-03 10:05:08 -05:00
calc84maniac
b23a3df5e8
More x86 shift fixing
2012-01-03 10:03:12 -05:00
skidau
ebca41e78b
Merge branch 'Wiimote'
2012-01-03 22:23:45 +11:00
calc84maniac
b88d0aa53f
x86 shift of 0 doesn't update flags, check the value manually
2012-01-03 01:24:21 -05:00
skidau
a812e3bd3d
Removed the "Reload MemCard on load state" hack as it is no longer needed with the new save states system.
...
Fixes issue 4898.
2012-01-03 01:24:20 -05:00
skidau
32755aa48c
Reordered the safe write path of the stfd instruction.
2012-01-03 01:24:19 -05:00
skidau
daf7e96521
Fixed the safe write path of the stfd instruction in the JIT. Fixes issue 4001.
2012-01-03 01:24:18 -05:00
skidau
b9547a07f5
Updated the Gecko code handler to the latest version from Gecko OS 1.9.3.1.
...
Added a check to ensure that the number of codes fits in memory (maximum 231 codes).
Store a copy of codehandler.bin in the Sys directory.
2012-01-03 01:24:17 -05:00
skidau
318d3cff02
Added a note to try the native code handler in the error message window.
...
Added copyright notices.
2012-01-03 01:24:16 -05:00
skidau
69b2d4ddc1
Changed the Gecko code handling to the native code handler. This provides full compatibility with all Gecko codes.
...
To use the native code handler, place the kenobiwii.bin file into the Sys directory. Dolphin will silently fall-back to the emulated code handler if the file is not there.
Fixes issue 4561.
2012-01-03 01:24:14 -05:00
calc84maniac
2c3a714e49
Merge branch 'master' of https://code.google.com/p/dolphin-emu
2012-01-03 00:44:41 -05:00
calc84maniac
aa47a8c690
x86 shift of 0 doesn't update flags, check the value manually
2012-01-03 00:37:43 -05:00
skidau
ca287e7957
Removed the "Reload MemCard on load state" hack as it is no longer needed with the new save states system.
...
Fixes issue 4898.
2012-01-03 15:36:32 +11:00
calc84maniac
6ecae3e556
srwx and slwx optimizations
2012-01-02 19:45:28 -05:00
calc84maniac
9c4106027c
Erp, some changes were not committed
2012-01-02 19:45:27 -05:00
calc84maniac
ff6d0d056a
rolwinmix and rlwnmx optimizations, another Rc/RC typo fixed
2012-01-02 19:45:26 -05:00
calc84maniac
9530bd0292
rlwimix optimizations
2012-01-02 19:45:25 -05:00
calc84maniac
a6d041bfa9
Removed an extraneous FlushLockX, further optimized simultaneous handling of carry/overflow.
2012-01-02 19:45:24 -05:00
calc84maniac
4cb1af0f13
Fixed a bad typo. Why are there different inst.Rc and inst.RC variables? >_>
2012-01-02 19:45:23 -05:00
unknown
ab54000d73
Fixed and streamlined overflow detection, improved subtraction methods, general flag-based optimizations including GenerateRC() which uses the sign/zero flag of the last operation
2012-01-02 19:45:21 -05:00
skidau
d399e6b26d
Reordered the safe write path of the stfd instruction.
2012-01-03 10:20:20 +11:00
calc84maniac
f575c2c3be
srwx and slwx optimizations
2012-01-02 18:00:28 -05:00
calc84maniac
42cdda42c9
Erp, some changes were not committed
2012-01-02 17:34:07 -05:00
calc84maniac
ce80772007
rolwinmix and rlwnmx optimizations, another Rc/RC typo fixed
2012-01-02 17:30:54 -05:00
calc84maniac
7d262ff1f4
rlwimix optimizations
2012-01-02 15:07:36 -05:00
calc84maniac
a2bd91b726
Removed an extraneous FlushLockX, further optimized simultaneous handling of carry/overflow.
2012-01-02 11:50:01 -05:00
skidau
67e38fb6c6
Fixed the safe write path of the stfd instruction in the JIT. Fixes issue 4001.
2012-01-03 01:17:52 +11:00
calc84maniac
8d67354179
Fixed a bad typo. Why are there different inst.Rc and inst.RC variables? >_>
2012-01-02 04:00:47 -05:00
unknown
d6bf166694
Fixed and streamlined overflow detection, improved subtraction methods, general flag-based optimizations including GenerateRC() which uses the sign/zero flag of the last operation
2012-01-02 03:42:00 -05:00
skidau
6b0d21efa7
Merge branch 'Gecko'
2012-01-02 15:21:58 +11:00
skidau
f4d8e527b5
Updated the Gecko code handler to the latest version from Gecko OS 1.9.3.1.
...
Added a check to ensure that the number of codes fits in memory (maximum 231 codes).
Store a copy of codehandler.bin in the Sys directory.
2012-01-02 15:14:30 +11:00
skidau
96600ef48d
Added a note to try the native code handler in the error message window.
...
Added copyright notices.
2012-01-02 13:53:39 +11:00
Pierre Bourdon
008fd446f5
Replace some printfs from the PPC Interpreter code by Dolphin logger calls
2012-01-02 00:59:37 +01:00
Pierre Bourdon
59e93bff78
Fix a crash at startup with Dolphin on Linux compiled in debug mode
...
Use the clobber list instead of the stack to save rbx when executing the cpuid
instruction with inline assembly. This avoids breaking GCC assumptions about
the stack pointer location.
2012-01-02 00:59:37 +01:00
nitsuja
0d9e87da18
prevent CLogWindow::UpdateLog from constantly burning through timer objects, because it was allocating memory a lot and making it hard to debug some things. I think this should be faster even in release builds, but any speedup is probably too tiny to measure.
2012-01-01 14:28:21 -08:00
nitsuja
f0d7b8122f
increased fault tolerance of shader cache files.
...
more specifically: if the emulator stops unexpectedly, it is quite possible that one of the shader cache files will have some bytes near the end that never got their values filled in. this change adds an index number at the end of each entry as extra verification that the entry is valid, so that invalid entries can be ignored (and eventually overwritten) instead of causing crashes.
2012-01-01 14:28:20 -08:00
nitsuja
6f1b2d7748
name all audio threads (that I know how to) for debugging, as suggested in response to revision d00b719966
.
2012-01-01 14:28:19 -08:00
skidau
ba545ec1e9
Build fix
2012-01-01 18:09:39 +11:00
skidau
e4b4a65346
Merge branch 'PowerPC'
2012-01-01 16:17:52 +11:00
skidau
5a914744a2
Added some support for the OE flag. Thanks to j4ck.fr0st for the tip.
2012-01-01 16:12:53 +11:00
skidau
c53593a40a
Moved the Audio Throttle option to the Framelimit drop-down. The Audio Throttle should never be used alongside the frame limiter as that can cause audio sync issues.
2012-01-01 14:32:54 +11:00
skidau
80504efcdf
Changed the Gecko code handling to the native code handler. This provides full compatibility with all Gecko codes.
...
To use the native code handler, place the kenobiwii.bin file into the Sys directory. Dolphin will silently fall-back to the emulated code handler if the file is not there.
Fixes issue 4561.
2011-12-31 15:18:48 +11:00
skidau
cfee6d8473
Stubbed the /dev/usb/oh1 path. Fixes issue 4936.
2011-12-31 09:51:41 +11:00
skidau
f7ef58ff9a
Removed the VID/PID validation for Wiimotes allowing Dolphin to detect third party wiimotes with a VID/PID that is different to Nintendo's.
...
Checked for timeouts reported by the bluetooth stack.
Added RVL-CNT-01-TR detection.
2011-12-29 21:18:35 +11:00
skidau
1df7af35e9
Reset errno to zero before testing it after the strtoul call. Fixes issue 5078.
2011-12-29 12:05:36 +11:00
Pierre Bourdon
af8a866afc
Implement what was done by r9a627e89 using a stub device
...
This is arguably better then using the slot0 device for slot1, because it maps
the real hardware better (nothing can be mounted on slot1 on a Wii AFAICT).
This also makes Kirby: Return to Dreamland work properly and fixes some of the
SD card problems (libs do not expect to have the same SD card mounted two times
in RW...).
2011-12-25 01:55:25 +01:00
Pierre Bourdon
070c933088
Revert "Add unimplemented device map for sdio/slot1 and slot2. Fixes #4932."
...
This reverts commit 9a627e89fb
.
The attempted Kirby: Return to Dreamland fix does not work properly and while
it fixes this particular game, it completely breaks SD card support on Dolphin.
BTW, I've never head of /dev/sdio/slot2 before...
2011-12-25 00:03:45 +01:00
LPFaint99
d389f7139b
restore wii sorting order by using the ascii string from the banner instead of the iso file
2011-12-22 15:53:41 -08:00
LPFaint99
ca8af741b8
Merge branch 'unicode_gamelist'
2011-12-22 14:29:47 -08:00
LPFaint99
825e2ea4df
fix an ascii/wxstring in gamelistctrl, replace fromascii("") with wxemptystring, don't push_back 0 at the end of wstrings
2011-12-22 14:28:12 -08:00
LPFaint99
8f6c25a5aa
cleanup: merge handling of ntsc/pal games in gamelist/isoproperties
2011-12-20 02:19:46 -08:00
LPFaint99
e4c4602d9e
use windows-1252 for gamename/description, fixes copyright/tm symbol in the gamelist & isoproperties
2011-12-20 02:10:40 -08:00
LPFaint99
9ddb67d4a9
fix shift-jis conversion on linux, and check for the codepage on windows in the memorycard manager like everywhere else
2011-12-20 01:35:12 -08:00
nitsuja
33f0f9fd9f
fix ZWW intro music crackling with DSPHLE
2011-12-19 21:52:47 -08:00
nitsuja
3006d0696c
fix the read-only menu item being disabled when emulation is paused (the hotkey was fine but I guess some people still use the menu)
2011-12-19 16:38:07 -08:00
nitsuja
3e773f093d
fixed a freeze on emu shutdown in windows build
2011-12-19 15:13:26 -08:00
LPFaint99
de4e3e7462
add wstring name(s)/description to the cachefile, use when available in gamelist and properties window
2011-12-18 22:01:46 -08:00
LPFaint99
7f4efa094e
add the function to read the game name and description from the banner as unicode
2011-12-18 21:56:13 -08:00
LPFaint99
a73ad3554c
add the function to read all unicode gamenames from a wad file
2011-12-18 21:42:20 -08:00
nitsuja
567e90bbd5
fix for an un-threadsafe call to UpdateGUI (oops)
2011-12-18 20:38:54 -08:00
nitsuja
4a88d5ae93
fix for wiimote dying if you use savesetates too fast
...
(by dying I mean all wiimote slots permanently disconnecting until emulation reset)
2011-12-18 19:47:11 -08:00
Glenn Rice
4ecb48eaf8
Update a few more translations and add Farsi.
2011-12-18 14:03:57 -06:00
Pierre Bourdon
b20c26f0b7
Adding more drama to the git history.
2011-12-18 13:58:44 +01:00
kostamarino@hotmail.com
9829beab42
Gameini database update, mainly changes to the emulation issues lines (make them shorter, with more substance and less bla bla, update outdated stuff). The emulation issues lines can be further improved(this is a start).
...
Also re - implement the emulation issues column that was reverted, make it a bit bigger since sentences need more words and delete the issues portion of the emustate tooltip since it is unnecessary now.
2011-12-18 14:52:40 +02:00
nitsuja
d00b719966
give the audio thread a name (this doesn't really matter, but it was bugging me)
2011-12-18 02:25:50 -08:00
nitsuja
d44fc0c820
small fixes for some recording-related menu items
2011-12-18 02:23:59 -08:00
nitsuja
c88e4a097e
update ui after savestate load (because loading a savestate can affect whether certain items should be grayed out in the menu)
2011-12-18 01:15:59 -08:00
nitsuja
cfad00d6e0
added missing ExpansionInterface data to savestates, and related fixes (for savestate robustness)
2011-12-18 00:23:12 -08:00
nitsuja
e5286e0406
improve the movie savestate load verification a bit more
2011-12-18 00:22:57 -08:00
nitsuja
c6ea5f31f5
remove some suspect code in PowerPC::DoState which I think has already been supplanted by more correct code in CoreTiming::DoState
2011-12-18 00:22:31 -08:00
nitsuja
1e4e05fdc3
made ucode saving more reliable (especially for the case of loading across boundaries where the ucode changes). I think this is related to the occasional memory corruption I was seeing upon loading a savestate.
2011-12-18 00:22:21 -08:00
nitsuja
c68c8c388c
made savestate loads less fragile by adding some markers and rolling back on a mismatch.
...
This should make it so if you try to load an incompatible save, it simply doesn't load, instead of crashing dolphin. (I can't guarantee no crash but it's much less likely now)
2011-12-18 00:22:06 -08:00
Jordan Woyak
98d22d0e03
Revert the latest GUI change (Emulation Notes column). We don't care for it.
2011-12-17 23:44:09 -06:00
Maarten ter Huurne
ed1bfdf293
Merge branch 'cmake-osx2'
2011-12-17 16:30:02 +01:00
Maarten ter Huurne
83bf5790a6
Copy translation files into OS X bundle.
2011-12-17 16:26:52 +01:00
kostamarino@hotmail.com
a58c46be81
Gui change and an update to the gameini database.
...
The "Notes" column is gone and in it's place an "Emulation Notes" column is placed (it contains the emulationissues lines from the game inis). Notes that contain useful info about the game can be seen with just a glance this way.
Fixes issue 5043.
2011-12-16 21:01:10 +02:00
nitsuja
d2f61fa155
some movie playback fixes
2011-12-15 09:22:16 -08:00
nitsuja
1ad05f7440
Merge branch 'master' of https://code.google.com/p/dolphin-emu
2011-12-14 21:34:55 -08:00
nitsuja
9470f9545f
many movie fixes (mainly for readonly mode), and some wii input display support
2011-12-14 21:26:42 -08:00
Maarten ter Huurne
4c7c29b8b6
Let "make install" on OS X copy the bundle to /Applications.
...
The "dsptool" executable is not included in the bundle.
The "tester" executable is not included in the bundle and it no longer
installed on other platforms, since it is neither expected nor useful
to install unit tests.
2011-12-14 02:50:36 +01:00
Jordan Woyak
b44918d1ed
Merge branch 'fix-real-gcpad-sticks'
2011-12-12 23:25:32 -06:00
Jordan Woyak
09d2301fed
detect input at 55% to catch silly c-stick range
2011-12-12 23:24:10 -06:00
Maarten ter Huurne
27bda2c054
Fixed range check on TryParse() for u32, again.
...
The code from 748be364e5
incorrectly accepted -0x100000000 on x86_64.
Also if ERANGE is returned by strtoul(), reject the parsed value regardless
of what that value is. This fixes invalid values being returned when compiling
with Visual C++. Thanks to "cotton" for testing this.
2011-12-13 02:08:34 +01:00