Commit Graph

9641 Commits

Author SHA1 Message Date
Ryan Houdek 8882d27689 [ARM] Fixes the ps_merge00 and ps_merge10 implementations. They both had the potential to overwrite the source registers in the moves. 2013-09-12 10:17:27 +00:00
Ryan Houdek 749b62fcd9 [ARM] Fixes orcx implementation. 2013-09-12 09:55:55 +00:00
Ryan Houdek e1d510c2dc [ARM] Disables loadstores with update because they are broken. 2013-09-12 09:40:10 +00:00
Ryan Houdek 2c33bab1a6 [ARM] lfsx implementation. 2013-09-12 07:52:19 +00:00
Ryan Houdek fa5499e046 [ARM] Disable lmw when fastmem is disabled. 2013-09-12 02:51:38 -05:00
Glenn Rice acbdcc8ea0 Use the POLARSSL_LIBRARY variable to set the link library. This fixes a
possible linkage issue when multiple versions of the library are around.
2013-09-11 22:09:49 -05:00
comex b9c1af04ad Replace the one use of CompileTimeAssert with static_assert (already used elsewhere). 2013-09-11 20:58:47 -04:00
comex 9ee50a2730 Merge branch '6584'
Fix for XP and lifetime issues on Mac.  Fixes issue 6584.
2013-09-11 20:47:27 -04:00
Jordan Woyak fde3815d34 Replace ARRAYSIZE macro with another ugly macro. At least this will throw an error for a non-array and won't conflict with Windows macro names. 2013-09-11 19:19:36 -05:00
Jordan Woyak ce49964dfe Fix "modifier" button functionality et al. 2013-09-11 17:48:04 -05:00
degasus 3fcdf5e25b VideoCommon: use memcmp to compare shader uid 2013-09-11 17:34:23 +02:00
degasus 3b0b5155e8 ogl: change the default buffer upload on osx+nvidia 2013-09-11 11:02:09 +02:00
Jasper St. Pierre 2b10142b4f Remove a bunch of old HLE junk
This hasn't been used since 2008
2013-09-10 22:35:52 -04:00
comex 56686666d6 Fix ES_DECRYPT.
ES_DECRYPT is usually called with the in IV parameter equal to the out
IV parameter.  Dolphin was preemptively zeroing out the out buffer,
causing it to read zeroes for the IV.  (Also be more correct when those
parameters *aren't* equal.)

Dolphin now has the dubious honor of having an exploit (smashstack) work
in it.  It crashes in Project M, though.
2013-09-10 17:09:37 -04:00
lioncash 84db868187 [Android] Android uppercases the name of the tabs in the settings by default. So we don't have to call ".toUpperCase" in the string returns in getPageTitle(). 2013-09-10 11:21:13 -04:00
lioncash 8ceb72612a [Android] Kick the targetSdkVersion in the AndroidManifest XML file to 18. Since this app basically works on 4.x.x, we don't need to make compatibility modes kick in for anything above 4.0.0.
Also very minor cleanup to the XML.
2013-09-10 09:29:05 -04:00
lioncash ce5f80b151 [Android] Give the exceptions in compareTo implementations in GameListItem and FolderBrowserItem some messages. If the exceptions ever actually get thrown, at least you're given a reason as to why the exception was thrown now. Also changed the exception type to NullPointerException. IllegalArgumentException is intended to be used for validating the parameters in constructors/methods. 2013-09-10 08:32:11 -04:00
Shawn Hoffman 484130049d On windows, ignore WM_QUERYENDSESSION and close upon WM_ENDSESSION.
The messages can come through CFrame::MSWWindowProc and the wxApp implementation, so make sure to catch both.
Fixes issue 6546.
2013-09-10 03:14:21 -07:00
Shawn Hoffman 2d492bdc4f Revert "Leak an object when quitting Dolphin to try and fix issue 6546"
This reverts commit 380b780dd1.

Revert "Move the CFrame::ClosePages call from ~CFrame to CFrame::OnClose"
This reverts commit e29de302a6.
2013-09-10 01:04:29 -07:00
comex 4add0f55e0 Fix SDIO HLE writing garbage to memory.
When servicing a write-register request, it wrote the contents to the
register offset plus 0x8d070000, which corresponds to the actual
hardware registers, presumably in case the application wanted to read
them directly rather than with a read-register request.  WriteToHardware
doesn't handle cached writes to registers, so it decided the address was
RAM, applied RAM_MASK, and happily wrote the register contents to
0x81070000, causing random corruption.  Since the PPC does not normally
have access to those registers, there is no reason to be doing this in
the first place.  Use a member to store these values instead.

(Also add a proper DoState.)
2013-09-09 23:57:51 -04:00
Lioncash a3ef35a1bf [Android] Fix a bug where the video backend would not load correctly. 2013-09-09 22:38:09 -04:00
degasus cd7f787627 ogl: also restore logic op for util shaders 2013-09-09 23:21:56 +02:00
Pierre Bourdon e29de302a6 Move the CFrame::ClosePages call from ~CFrame to CFrame::OnClose 2013-09-09 18:49:10 +02:00
Pierre Bourdon 380b780dd1 Leak an object when quitting Dolphin to try and fix issue 6546 2013-09-09 18:44:21 +02:00
Rachel Bryk 0d341e9f28 [NetPlay] Fix copy and paste error. 2013-09-09 03:12:42 -04:00
Rachel Bryk 772046647a Revert "Revert "NetPlay: Use the correct pad mappings for rumble""
This reverts commit 06140e8083.
2013-09-09 03:09:45 -04:00
comex 06140e8083 Revert "NetPlay: Use the correct pad mappings for rumble"
This reverts commit 92c846de45.

It breaks NetPlay entirely for me.
2013-09-09 02:39:28 -04:00
degasus 3ec9f9b64a videoCommon: also reset logicOp on mode switch 2013-09-09 02:30:44 +02:00
comex fe0a450ee4 Don't request authentication (aka I should actually test before committing). 2013-09-08 19:32:14 -04:00
comex 22d9331b96 Improve IOdarwin -
Add requestAuthentication, which might help someone who can't sync, and
better error reporting.
2013-09-08 18:15:49 -04:00
Ryan Houdek 4146e1f3d6 [ARM] Implement psq_st. Optimizations in psq_l and fix all the remaining bugs...except clamping within the max value range of the value. Causes some minor visual effects mostly. 2013-09-08 21:56:17 +00:00
Ryan Houdek c1aa80cefa [ARM] Add support for double registers in VMOV(immediate). Add VEOR and VSTR1. Fix some minor encoding bugs. 2013-09-08 21:56:17 +00:00
Lioncash f382a53500 [Android] Organize the list of allowed file extensions for the folder browser and game list alphabetically.
Keeps things nice and sorted.
2013-09-08 17:52:26 -04:00
Lioncash c306dafe44 [Android] Simplify some checks within the the folder browser in regards to checking if a file is hidden or not. Also potentially fixed the case where items in the game list would not remain saved to the config. 2013-09-08 16:45:37 -04:00
NeoBrainX 3db2108dbb Add two buttons to the ISOProperties dialog so that we still meet string freeze deadline. 2013-09-08 21:04:03 +02:00
Jasper St. Pierre 92c846de45 NetPlay: Use the correct pad mappings for rumble
Rename the functions around so we don't get confused again, too.
2013-09-08 13:54:05 -04:00
Ryan Houdek ba0c52b104 [ARM] Optimization to psq_l, no need to push/pop regs anymore. Implement support for single float loading, gives a decent speedup to Ikaruga in menus and game. 2013-09-08 08:18:34 +00:00
Ryan Houdek e5b5713d70 [ARM] Optimize that fastmem load/stores minimally. 2013-09-08 07:37:03 +00:00
Ryan Houdek 2126f405e0 [ARM] 1 instruction optimization for psq_l 2013-09-08 07:25:59 +00:00
Ryan Houdek e6af4970d8 [ARM] Use NEON for loading the values from psq_l, gives a minimal performance increase. This change also begins a new NEONXEmitter for having cleaner support for NEON. 2013-09-08 07:07:15 +00:00
Lioncash f753b9ae97 [Android] Show the full text for save and load states if there's room on the screen. If not, let it overflow into a context menu. 2013-09-07 19:19:28 -04:00
Lioncash cc054b9da3 [Android] Make the MotionAlertDialog private. This isn't needed to be protected anymore. The only reason it was protected was for when the input settings were coupled as all hell to the GameListActivity (lol). Also documented the interface method within it. 2013-09-07 18:51:15 -04:00
Glenn Rice 913853d441 Move the creation of the GLInterface (and hence the video backend
window) from VideoPrepare to Initialize in the software plugin (as in
the GL plugin).  This fixes issue 6564.  It also makes the emulator show
up positioned correctly in the dolphin application window when using
render to main.
2013-09-07 15:57:32 -05:00
comex 8b4f0ef034 IODummy needs it too. 2013-09-07 16:17:00 -04:00
comex b31502893f Fix lifetime issues in IOWakeup. 2013-09-07 16:13:39 -04:00
comex f4586570ac Use SetEvent instead of CancelIoEx for XP compatibility. 2013-09-07 15:43:17 -04:00
Ryan Houdek 31b69c53f7 [ARM] Implement psq_l for 2x float loads. Couldn't find a game using quantized loads. Huge speed boost to Ikaruga and THP movies with this one. 2013-09-07 17:44:10 +00:00
Ryan Houdek 614a7c2081 [ARM] Clean up some host side register allocations I missed. 2013-09-07 17:44:10 +00:00
Glenn Rice cf09974d61 Merge branch 'translate-about' 2013-09-07 09:56:54 -05:00
Lioncash 86d10ec19e [Android] Fix the input binding string.
Forgot a period at the end. Thanks for pointing that out pauldachz
2013-09-07 06:19:24 -04:00