JosJuice
4a41ab1715
Fix 4.0-5689 regression (AR codes, patches)
...
CreateCodeTab, ARCodeAddEdit and PatchAddEdit
need to be able to modify arCodes/onFrame.
2015-03-06 12:26:40 +01:00
skidau
a3f6cbfe6b
Merge pull request #2167 from JosJuice/language-selection-regression
...
Call SetUserDirectory before InitLanguageSupport
2015-03-06 15:25:51 +11:00
Lioncash
47c8955248
Merge pull request #2168 from JosJuice/language-selection-untranslated
...
Display languages untranslated in GUI language selection
2015-03-05 18:05:23 -05:00
magumagu
92ba677371
Merge pull request #2174 from skidau/warning-fix-gc-adapter
...
Warning fix
2015-03-05 14:56:19 -08:00
skidau
ef3fd68603
Warning fix
2015-03-06 09:34:38 +11:00
Tillmann Karras
45dbcf0ed2
Jit64: use MRegSum where appropriate
2015-03-05 21:58:28 +01:00
Tillmann Karras
e27fae22d8
Jit64: drop a FIXME that has been fixed for years
...
See 6cdb40a194
.
2015-03-05 21:58:28 +01:00
Lioncash
b7514955e5
Merge pull request #2113 from Stevoisiak/VolumeCleanup
...
Basic volume code cleanup
2015-03-05 12:18:53 -05:00
skidau
203c64e66d
Changed the GC Adapter rumble command to work like other controllers.
2015-03-05 23:57:18 +11:00
skidau
4cf4cee30e
Removed the GC Adapter "Use Thread" option as it was not useful.
2015-03-05 23:30:43 +11:00
skidau
e5277a5f49
Ignore invalid rumble data sent over Netplay to the GC Adapter
2015-03-05 23:11:48 +11:00
skidau
dee6a04980
Moved the gcpad calibration from construction to runtime
2015-03-05 23:06:19 +11:00
magumagu
863a4c9ce0
Fix clamping for rectangles.
...
Clamping a rectangle correctly requires fully clamping all four
coordinates in the general case.
This should fix issue 6923, sort of; at least, it fixes the part where a
rectangle ends up with a nonsensical height after being clamped.
2015-03-04 17:15:29 -08:00
JosJuice
c40e1d972a
Sort language list alphabetically by new names
2015-03-04 20:36:04 +01:00
JosJuice
a8a9dafb1f
Display languages untranslated in GUI language selection
2015-03-04 20:35:19 +01:00
JosJuice
2cb4a3efbc
Call SetUserDirectory before InitLanguageSupport
...
Fixes a regression from 4.0-5692 where only the system language was used.
2015-03-04 14:45:36 +01:00
Lioncash
a11bbe6fea
PPCTables: Remove FL_OUT_S.
...
This is unused, and since it had the same value as FL_OUT_D, it was unnecessarily setting the rS register as an output, even on instructions that only have FL_OUT_D set.
2015-03-03 16:23:28 -05:00
Lioncash
139dbcb8e2
Interpreter_Tables: Fix wrong flags and add missing ones
2015-03-03 16:23:21 -05:00
Darius Goad
f4750804ab
Add various loads and stores to JitIL
2015-03-03 11:17:25 -06:00
JosJuice
96c4b332f6
FileMonitor: Check log level in addition to FileMonitor checkbox
...
This is good for performance when FileMontior is selected
but the log level only is set to notice or warning.
The ability to do this wasn't available until recently:
1ed41672f5
2015-03-03 11:33:16 +01:00
Ryan Houdek
fbdee7b15f
[AArch64] Handle FPR island registers in a less dumb way.
2015-03-03 00:30:05 -06:00
Ryan Houdek
81242dd4a7
[AArch64] Allow the other FPR push/pop routines to use a temporary register.
2015-03-02 21:38:09 -06:00
Tillmann Karras
a5ea6c6e93
enet: fix Visual Studio files
2015-03-02 22:20:37 +01:00
degasus
691b690afe
enet: Search for shared library
2015-03-02 22:18:57 +01:00
Ryan Houdek
f1a9db9bdc
[AArch64] Stop violating the AAPCS64 so much.
2015-03-02 11:21:15 -06:00
Markus Wick
cc5a2f3411
Merge pull request #2164 from Armada651/cache-fix
...
ProgramShaderCache: Do plenty of error checking before writing shaders to the disk.
2015-03-02 17:24:00 +01:00
Jules Blok
728081dad2
ProgramShaderCache: Do plenty of error checking before writing shaders to the disk.
2015-03-02 17:03:49 +01:00
Ryan Houdek
fad46729b0
[AArch64] Implemented paired pushing/popping for the VFP.
...
A bit more efficient if we are only pushing two VFP registers.
We can probably be a bit more efficient in the future by mixing paired loadstores in to the other paths as well.
2015-03-02 06:27:47 -06:00
Ryan Houdek
39e357d62d
[AArch64] Implement VFP loadstore paired in the emitter.
2015-03-02 06:27:17 -06:00
Ryan Houdek
8b8310d28c
[AArch64] Optimize FPR pushing and popping.
...
Previously on FPR pushing and popping we would do a single STR/LDR per quad FPR we wanted to push/pop.
In most of our cases when we are pushing and popping VFP registers they will be consecutive registers that will save more efficiently using the NEON
loadstores that can do up to four quad registers.
So this can potentially cutting instructions down to ~1/4th the amount of instructions if the registers are all consecutive.
On the Cortex-A57 this is basically just an icache improvement, but on the Nvidia Denver this may be optimized to be more efficient. Either way it's a
win.
2015-03-02 06:27:13 -06:00
skidau
cd8c37bc07
Merge pull request #2145 from skidau/GC-Adapter-status-fix
...
Cleared the status of the GC Adapter before populating it with new data
2015-03-02 12:18:52 +11:00
skidau
939159cd71
Cleared the status of the GC Adapter before populating it with new data
2015-03-02 11:08:26 +11:00
degasus
35373c5185
TextureCache: load all mipmap levels from custom textures
...
This drops the "feature" to load level 0 from the custom texture
and all other levels from the native one if the size matches.
But in my opinion, when a custom texture only provide one level,
no more should be used at all.
2015-03-02 00:09:09 +01:00
magumagu
7f7973efa5
Merge pull request #2148 from Tilka/fifo_cleanup
...
Small FIFO-related cleanup
2015-03-01 13:06:43 -08:00
magumagu
b4a586f84a
Merge pull request #2161 from Tilka/fix_warnings
...
Fix some warnings
2015-03-01 13:02:37 -08:00
magumagu
aa24dbc56e
Merge pull request #2157 from lioncash/leaks
...
DolphinWX: Allow input subsystems to correctly deinitialize
2015-03-01 12:53:28 -08:00
Tillmann Karras
f75187db3e
Add missing newlines at EOF
2015-03-01 17:17:09 +01:00
Tillmann Karras
88264f5712
Fix -Wswitch warning
2015-03-01 16:17:32 +01:00
Tillmann Karras
b0bde31ac0
Fix include order of files outside of Source/Core
2015-03-01 14:54:22 +01:00
Tillmann Karras
4304648a05
Fix -Wreorder warning
2015-03-01 14:54:22 +01:00
degasus
7ca24f90d1
TexCache: increase TEXTURE_KILL_THRESHOLD
...
Xenoblade uses more than 40 textures alternately per frame for eg water effects.
So don't try to drop them as aggressive.
2015-03-01 13:41:14 +01:00
Lioncash
3981212031
DolphinWX: Allow input subsystems to correctly deinitialize
...
Previously InitControllers() would be called every poll duration, setting this boolean to false which would prevent said sybsystems from deinitializing correctly.
2015-03-01 01:23:21 -05:00
Ryan Houdek
d3c9701eb6
Merge pull request #2156 from Stevoisiak/EFB-Copies-To-Texture
...
VideoConfigDiag: Rename EFB Copies to RAM option
2015-02-28 22:28:11 -06:00
Stevoisiak
cb7b96009d
VideoConfigDiag: Rename EFB Copies to RAM option
2015-02-28 23:00:49 -05:00
Stevoisiak
492aa5c391
DiscIO: Get rid of unsafe cast
2015-02-28 22:03:53 -05:00
Stevoisiak
5346e791bc
VolumeWad: change titlever to title_version
2015-02-28 21:42:16 -05:00
Lioncash
4cc19ac926
DolphinWX: Clean up some wxTimer code
...
Technically fixes a memory leak (which wouldn't matter because the timer is only created once and destroyed on shutdown).
Also starting and stopping the timer does not cause leaks.
2015-02-28 20:32:37 -05:00
Stevoisiak
eff924e9e2
General Formatting
2015-02-28 19:33:27 -05:00
Tillmann Karras
baf732b48b
DolphinWX: fix searching the game list in GTK
2015-02-28 16:43:31 +01:00
Tillmann Karras
9493c713dd
Fifo: small cleanup
2015-02-28 15:40:01 +01:00
Tillmann Karras
e28c97f6bd
Fifo: drop unused functions
2015-02-28 15:40:00 +01:00
Lioncash
d10571a86a
PixelShaderManager: Remove unnecessary casts.
...
EFBToScaledXf and EFBScaledYf return a float, so the cast isn't needed here.
2015-02-28 00:04:05 -05:00
skidau
4dd0813dcf
Merge pull request #2133 from randomstuff/hotkeys
...
Fix hotkeys for Linux
2015-02-28 10:59:18 +11:00
Markus Wick
4f9fcbaba9
Merge pull request #2120 from JosJuice/show-default-gameini
...
ISOProperties: Allow opening region-free INIs with "Show Defaults" button
2015-02-27 17:58:42 +01:00
skidau
1dcd0ad879
Merge pull request #2129 from Sonicadvance1/shuffle_user_dir
...
Move user directory detection location to UICommon.
2015-02-27 14:07:06 +11:00
skidau
2a41ac4072
Merge pull request #2123 from RachelBryk/nonmodal-isoprops
...
Make iso properties non modal.
2015-02-27 13:25:46 +11:00
skidau
85359d5169
Merge pull request #2124 from RachelBryk/framelimit-hotkeys
...
Fix order of some hotkeys
2015-02-27 13:24:32 +11:00
Stevoisiak
ede4977d12
VolumeWiiCrypted: Implement IsDiscTwo()
...
Allows us to check if a Wii game is marked as Disc 2.
2015-02-26 17:10:18 -05:00
Stevoisiak
f72a559958
Rearranged Volume header files
2015-02-26 16:57:32 -05:00
Stevoisiak
06cb85991e
De-capitalized CountryCode
2015-02-26 16:57:31 -05:00
Stevoisiak
df2f6d137e
VolumeWad: Move country identification to GetCountry()
...
Brings the code more in line with the rest of the game volume code
2015-02-26 16:55:17 -05:00
Stevoisiak
d3190ec4f1
VolumeWad: Private variables for offset values
2015-02-26 16:55:16 -05:00
Lioncash
d50c56c2e4
DolphinWX: Remove an unnecessary sizer from the watch window
...
The AUI manager already has the grid in place. Setting the sizer isn't needed.
2015-02-26 09:58:38 -05:00
Ziek
779f275486
Added TraversalServer.cpp to Core/Common
2015-02-25 18:28:27 -08:00
Ziek
619a3a5171
Added all of enet lib, changed Cmake files accordingly
2015-02-25 18:28:27 -08:00
Ziek
a629555e6b
Added Gui elements in Netplay Setup Diag so a person can choose a traversal server
...
Fixed bug with UPnP so that it will grab the proper address and protocal
Fixed bug that caused dolphin to freeze when host codes were to large
2015-02-25 18:28:26 -08:00
Ziek
1dea3780a7
Fixed issue where players were not disconnecting correctly
2015-02-25 18:28:26 -08:00
Ziek
074d688884
Change netplay initial gctime to be determined by the hosts initial time
2015-02-25 18:28:26 -08:00
Ziek
4cdc307b87
Moved Traversal Client code over from old netplay
...
Moved over gui code for copying host code
added gui to netplay diag setup to switch between direct and traversal connection
2015-02-25 18:28:25 -08:00
Ziek
461a54338b
Switched tcp over to enet
2015-02-25 18:17:50 -08:00
Ziek
3f367c22ee
Adding enet library for future replacement of tcp
2015-02-25 18:17:49 -08:00
skidau
f71f376371
Merge pull request #2117 from lioncash/id
...
DolphinWX: Remove unnecessary control IDs
2015-02-26 12:49:07 +11:00
Gabriel Corona
1cae151c9c
Avoid conflicts between hotkeys and global keybindings for Linux
...
Alt+foo are usually used as global keybindings.
2015-02-26 01:40:06 +01:00
Gabriel Corona
13d43c0cde
Fix linux hotkeys
...
Backticks are necessary when the key is not /^[A-Za-Z]*$/.
2015-02-26 01:29:52 +01:00
Gabriel Corona
c626ce5809
Do not fail to evaluate an expression if some input is missing
...
My keyboard layout does not have Alt_R but ISO_Level3_Shift. As a
consequence any control expression containing Alt_R fails to evaluate
completely and is unusable. This modification replace the missing term
of the expression by a dummy expression which always evaluate to
0. This way, the keybinding can work even if some keys are not
available.
2015-02-26 01:24:54 +01:00
Lioncash
7408de7e79
Merge pull request #2058 from Stevoisiak/Codemaid-Cleanup-Take2
...
Basic Formatting/Whitespace Cleanup
2015-02-25 18:07:56 -05:00
magumagu
b1fbf205ec
Merge pull request #2122 from Tilka/intrinsics
...
Intrinsics: drop custom _mm_shuffle_epi8()
2015-02-25 10:48:34 -08:00
Ryan Houdek
d6fcd85110
Merge pull request #2127 from lioncash/aui
...
DolphinWX: Relocate the address search into the code window
2015-02-25 10:36:07 -06:00
Stevoisiak
93b16a4a2d
Formatting/Whitespace Cleanup
...
Various fixes to formatting and whitespace
2015-02-25 10:48:21 -05:00
Markus Wick
d6ccbb1f9c
Merge pull request #2004 from randomstuff/stringutil-c-locale
...
Use the C locale for non-Windows CharArrayFromFormatV() and StringFromFormat()
2015-02-25 13:17:04 +01:00
Ryan Houdek
ca6e154f0b
Fix a bug on user path re-assignment.
...
The Load directory wasn't being properly reassigned when the user path changed, which causes a bunch of issues with things loading from the wrong
place when using the -U option in Dolphin.
2015-02-25 05:45:25 -06:00
Ryan Houdek
db06f058e4
Move user directory detection location to UICommon.
...
The UI should decide on where it wants the user directory, not our core system.
This is in anticipation of some upcoming work on Android which will need proper user directory setting.
2015-02-25 03:31:59 -06:00
Rachel Bryk
2c54ca0f84
Fix order of some hotkeys
2015-02-25 00:42:40 -05:00
Lioncash
ce4b73388a
DolphinWX: Relocate the address search into the code window
...
It's only function is in this pane. Leaving it on the main application toolbar not only looks gross, but subverts what a user might think it applies to.
2015-02-25 00:16:17 -05:00
Lioncash
792e166f87
Merge pull request #2118 from lioncash/aui
...
DolphinWX: Use AUI in the code window.
2015-02-24 21:45:16 -05:00
Lioncash
fd11f8fd29
DolphinWX: Use AUI in the code window.
...
Allows for resizing of the callstack, function call/callers windows etc.
First step in slightly improving the code window.
2015-02-24 21:31:28 -05:00
skidau
f4e42b394c
Merge pull request #2106 from magumagu/elf-translation-registers
...
Correctly set up MSR and BAT registers for ELF loading.
2015-02-25 12:42:48 +11:00
Tony Wasserka
ec47be7884
VideoConfigDiag: Use consistent spelling of nouns.
2015-02-25 01:58:47 +01:00
Rachel Bryk
2df8190e1a
Make iso properties non modal.
2015-02-24 19:11:03 -05:00
Pierre Bourdon
f06b1106db
Merge pull request #2089 from degasus/remove_disable_efb_copy
...
Remove disable efb copy
2015-02-24 23:31:05 +01:00
degasus
967eaad8df
VideoCommon: rename efb2tex and efb2ram
2015-02-24 23:10:13 +01:00
degasus
1313d3461f
VideoCommon: always enable efb copy
2015-02-24 23:01:01 +01:00
degasus
ac7102918d
OGL: support palette texture decoding
2015-02-24 22:51:55 +01:00
Fiora
0e34737390
Merge pull request #2121 from JosJuice/remove-sudtr-note
...
Remove "Needed for a few games." from fast disc speed description
2015-02-24 13:12:48 -08:00
magumagu
e9e1a2c2dc
Merge pull request #2110 from lioncash/tl
...
DolphinWX: Make RAM watch strings translatable
2015-02-24 11:42:14 -08:00
JosJuice
2247bfa9bc
Remove "Needed for a few games." from fast disc speed description
...
There are no longer any games that are known to require this.
The last one was Rogue Leader, fixed in PR #1778 .
2015-02-24 20:06:38 +01:00
JosJuice
021f6d0f72
ISOProperties: Allow opening region-free INIs with "Show Defaults" button
2015-02-24 20:04:19 +01:00
JosJuice
a1f0f60a79
CoreParameter: Refactor game INI code
2015-02-24 20:01:11 +01:00
Tillmann Karras
dd818a3831
Intrinsics: drop custom _mm_shuffle_epi8()
...
We don't actually use it, because of reasons.
2015-02-24 19:37:16 +01:00
Lioncash
30c91a3003
DolphinWX: Remove unnecessary control IDs
...
These don't need to be specifically identified.
2015-02-24 08:31:52 -05:00
Ryan Houdek
29fc52cfa1
[Android] Stop eating button events we don't handle.
...
We were eating /all/ button events except the back button. This would cause issues where Android wouldn't receive button press events for things like
volume rockers. So you couldn't change the audio ingame, even if that button isn't bound to an input.
Now we return to Android if we've handled that button press, so it works fine.
2015-02-24 05:38:16 -06:00
Ryan Houdek
4e5d115bf0
Merge pull request #2114 from Tilka/fix_warnings
...
Fix some warnings
2015-02-24 05:35:49 -06:00
Tillmann Karras
e67145713c
Fix some -Wmissing-declarations warnings
2015-02-24 12:32:55 +01:00
Markus Wick
be6a151355
Merge pull request #2116 from Sonicadvance1/fix_exception_handler_crash
...
Fix a crash with fastmem disabled.
2015-02-24 12:02:22 +01:00
Ryan Houdek
28e55d29f2
Fix a crash with fastmem disabled.
...
When the core is busy shutting down only uninstall the exception handler if fastmem is actually enabled.
We only install when fastmem is enabled, so only uninstall when it is as well.
Fixes a crash I was getting on ARMv7.
2015-02-24 04:52:37 -06:00
Tillmann Karras
e2fec13ab6
Fix some -Wsign-compare warnings
2015-02-24 10:29:59 +01:00
Tillmann Karras
7056f6308a
Fix a -Wunused-result warning
2015-02-24 10:29:59 +01:00
Ryan Houdek
a39eee28e9
Fix a typo in the Android cmake toolchain script.
...
This was a fairly recent update that went unnoticed because it uses a cached variable.
When I previously updated Android cmake I didn't noticed this.
Basically the issue was that Android cmake was no longer setting ${LIBRARY_OUTPUT_PATH_ROOT}
and instead only setting it to ${CMAKE_SOURCE_DIR} if it was passed a variable.
Same PR is open on the android cmake repo here https://github.com/taka-no-me/android-cmake/pull/37
2015-02-24 02:58:55 -06:00
skidau
bd0d5c1a22
Merge pull request #2102 from magumagu/ipchle-net-regression
...
Fix crash in Wii games using IPCHLE networking.
2015-02-24 13:14:48 +11:00
skidau
69381580f3
Merge pull request #2096 from lioncash/wx
...
DolphinWX: Remove unnecessary Windows-specific code in Frame.cpp
2015-02-24 13:11:39 +11:00
skidau
bf61abf22b
Merge pull request #2093 from magumagu/gc-bios-hack
...
Hack around our terrible GC BIOS emulation.
2015-02-24 13:11:25 +11:00
Tillmann Karras
daf4aa0947
Common: move _M_SSE macro to Intrinsics.h
2015-02-24 01:06:25 +01:00
Tillmann Karras
9aa463c590
Common: move _mm_shuffle_epi8 to Intrinsics.h
2015-02-24 01:06:24 +01:00
Tillmann Karras
f298f00e1b
Clean up the intrinsics #ifdef mess
2015-02-24 01:02:36 +01:00
Tillmann Karras
56795efd42
Common: add single header for all intrinsics
2015-02-24 01:01:10 +01:00
Ryan Houdek
7a61bd5519
Merge pull request #2107 from Sonicadvance1/aarch64_fix_lha
...
[AArch64] Fix fastmem lha/lhax.
2015-02-23 15:08:42 -06:00
magumagu
b9157c5a36
Merge pull request #2090 from magumagu/jit-gatherpipe-address
...
Refactor gather-pipe address checking.
2015-02-23 12:46:04 -08:00
magumagu
0ff7e20829
Merge pull request #2109 from lioncash/cr
...
Interpreter: Fix Helper_UpdateCR1
2015-02-23 11:23:21 -08:00
Markus Wick
e0b0ef3868
Revert "High quality resampler"
2015-02-23 18:43:13 +01:00
Lioncash
d50e7562af
DolphinWX: Make RAM watch strings translateable
2015-02-23 11:02:42 -05:00
Lioncash
6fe59d82e1
Interpreter: Fix Helper_UpdateCR1
...
This previously shifted off-by-one
2015-02-23 06:56:01 -05:00
Ryan Houdek
859eeb6d5b
[AArch64] Fix fastmem lha/lhax.
...
When the fastmem loadstore would fail, we would disassemble a few instructions to determine if lhbrx or lhz*
This was failing since I was checking the REV16 instruction that appears after the LDRH. Fixed it to make sure it was checking the correct instruction
which is SXTH.
Fixes an issue where homebrew wouldn't load with fastmem enabled.
2015-02-22 22:58:10 -06:00
magumagu
fca5e176b3
Correctly set up MSR and BAT registers for ELF loading.
2015-02-22 20:51:50 -08:00
skidau
593563e16c
Merge pull request #2087 from Armada651/epsilon-3d
...
VertexShaderManager: Turn the epsilon hack back on for 3D Vision.
2015-02-23 13:12:55 +11:00
skidau
f8e51a1a26
Merge pull request #2050 from Tilka/reset_vertex_loader_stats
...
VertexLoaderManager: reset stats properly
2015-02-23 13:10:38 +11:00
skidau
1c2977442f
Merge pull request #1992 from degasus/asyncevents
...
Asyncevents
2015-02-23 13:08:39 +11:00
skidau
57e9d59704
Merge pull request #1978 from lioncash/dspwind
...
DSPDebugWindow: Fix issue where the DSPLLE window would hang Dolphin on OSX
2015-02-23 12:57:27 +11:00
skidau
793abccb5e
Merge pull request #1942 from Buddybenj/No-Intro
...
Replace Country Names With No-Intro Names
2015-02-23 12:56:28 +11:00
skidau
81eb9bdf16
Merge pull request #1629 from kamiyo/FIR-resampler
...
High quality resampler
2015-02-23 12:53:33 +11:00
Lioncash
1a913138d5
Interpreter: Uncomment code related to cmp and cmpl
...
This is actually correct. Also cmpli has this uncommented as well.
2015-02-22 19:07:09 -05:00
magumagu
b5020b1675
Fix crash in Wii games using IPCHLE networking.
...
Address passed from IOS to PowerPC should be in the 0x90000000 range, not
0x10000000.
Issue 8264.
2015-02-22 14:07:05 -08:00
Ryan Houdek
3ab006b8d1
Merge pull request #2099 from Tilka/vtune
...
Fix VTune static library dependencies
2015-02-22 15:19:56 -06:00
magumagu
b9f77a5c0f
Merge pull request #1808 from Stevoisiak/additionalToolTips(Again)
...
Added more settings tooltips
2015-02-22 12:05:34 -08:00
Tillmann Karras
387777ed72
Fix VTune static library dependencies
...
Since libcommon.a is also the last library to be linked, this has the
totally hacky but useful side-effect that it doesn't require people to
modify CMake files for temporarily adding VTune code to other Dolphin
libraries.
2015-02-22 20:49:30 +01:00
Dolphin Bot
03ffab4249
Merge pull request #2098 from Tilka/fix_warning
...
Fix -Wmissing-variable-declarations warning
2015-02-22 20:16:11 +01:00
Tillmann Karras
8d19f62b69
Fix -Wmissing-variable-declarations warning
2015-02-22 20:08:28 +01:00
magumagu
917a900ccb
Refactor gather-pipe address checking.
...
The implementation of IsOptimizableGatherPipeWrite is extremely simple
now, but it will get a bit more complicated with dynamic-bat.
2015-02-22 11:01:42 -08:00
magumagu
18ada7a0f5
Merge pull request #2033 from magumagu/mmio-fix-addresses
...
Fix the addresses of MMIO registers.
2015-02-22 10:58:25 -08:00
Fiora
c54a8c54fb
Merge pull request #1994 from Tilka/vtune
...
JitRegister: fix VTune integration
2015-02-22 07:58:12 -08:00
Lioncash
d48ad19b8d
DolphinWX: Remove unnecessary Windows-specific code in Frame.cpp
...
wx's version of SetFocus internally calls the Windows one.
2015-02-22 04:09:37 -05:00
degasus
b35fa222f5
VideoCommon: perf querys by async events
2015-02-22 08:41:15 +01:00
degasus
edbd402101
VideoCommon: bbox by async events
2015-02-22 08:41:15 +01:00
degasus
ad7264da7d
VideoCommon: implement swap requests in the full async way
2015-02-22 08:41:15 +01:00
degasus
bc248f8941
VideoCommon: use a new async event system for efb access
2015-02-22 08:41:15 +01:00
Lioncash
bfa5dcc891
Interpreter: Set the FPCC bits correctly for ordered/unordered FP compares
...
Setting the whole FPRF is slightly incorrect, this should only modify the FPCC bits; the class bit should be preserved.
2015-02-22 02:19:13 -05:00
magumagu
97b7f26d58
Hack around our terrible GC BIOS emulation.
...
Fixes a crash launching F-Zero GX.
2015-02-21 20:07:54 -08:00
Lioncash
09319a1e11
Interpreter: Rearrange ordered/unordered compares
...
Comparing floating point numbers with == can trigger warnings (and have static analysis tools complain). So we make it the else case.
This also more closely resembles the Gekko manual.
2015-02-21 22:26:23 -05:00
Lioncash
70e1121b29
Interpreter_Tables: srawix only uses rS, not rS and rB.
...
srawix's input/output is defined as rA, rS, SH, where SH is an immediate for the shift amount.
2015-02-21 21:20:43 -05:00
Lioncash
7c244766dc
Interpreter: Use correct destination for psq_l, psq_lx, psq_lu, and psq_lux.
...
Gekko manual defines these as storing to rD, not rS.
Also removed FL_OUT_FLOAT_S, since nothing uses it now.
2015-02-21 21:20:41 -05:00
Lioncash
7bc2830520
Interpreter: Use Helper_Get_EA_X() for eciwx and ecowx
...
Cleans up the functions a little.
2015-02-21 21:20:40 -05:00
Lioncash
dc6cc909e5
Interpreter: Use FL_IN_A0B for ecowx
...
ecowx uses the value zero if rA is zero.
2015-02-21 21:20:39 -05:00
Lioncash
a8199a1070
Interpreter: Use correct destination for eciwx
...
Gekko manual defines the destination as rD. Also, if rA is zero, the
value zero is used, so FL_IN_AB is changed to FL_IN_A0B.
2015-02-21 21:20:38 -05:00
Pierre Bourdon
860c889454
Merge pull request #2076 from tanishalfelven/optimize-IsCPUThread
...
IsCPUThread() Speed Up
2015-02-22 00:54:55 +01:00
Tanis
568f0dca78
In hope of speeding up ```IsCPUThread()``` got rid of id checking and instead implemented a TLS boolean...
...
Made initialization of s_tls_is_cpu_key threadsafe
2015-02-21 17:52:49 -06:00
Ryan Houdek
e9ac4d53a6
Implement full occlusion queries for the Nexus 9.
...
GLES3 spec is worthless and only returns a boolean result for occlusion queries. This is fine for simple cellular games but we need more than a
boolean result.
Thankfully Nvidia exposes GL_NV_occlusion_queries under a OpenGL ES extension, which allows us to get full samples rendered.
The only device this change affects is the Nexus 9, since it is an Nvidia K1 crippled to only support OpenGL ES.
No other OpenGL ES device that I know of supports this extension.
2015-02-21 17:24:36 -06:00
Ryan Houdek
a5b4ac6faa
[GLExtensions] Add support for NV_occlusion_query_samples.
2015-02-21 17:24:32 -06:00
magumagu
9e29154b08
Merge pull request #1988 from magumagu/fast-checkgatherpipe
...
Use faster CheckGatherPipe from JIT.
2015-02-21 15:07:59 -08:00
Pierre Bourdon
e8f37bc3fe
Merge pull request #2091 from magumagu/lmw-saved-regs
...
Fix registersInUse in Jit64::lmw.
2015-02-21 18:42:17 +01:00
magumagu
018a7f1ec9
Fix registersInUse in Jit64::lmw.
...
Doesn't fix any known issue at the moment, but I ran into this bug with
dynamic-bat.
2015-02-21 09:31:20 -08:00
Dolphin Bot
c3edab8f54
Merge pull request #2082 from Armada651/resolve-depth
...
D3D: Use the correct format when resolving the EFB depth texture.
2015-02-21 15:50:20 +01:00
Markus Wick
95c48b2be7
Merge pull request #2018 from JosJuice/gameini-region-wildcard
...
Support game INIs that match all regions
2015-02-21 15:47:57 +01:00
Jules Blok
ff4127cf50
VertexShaderManager: Turn the epsilon hack back on for 3D Vision.
...
The bug is fixed in version 347.52 of the drivers.
2015-02-21 12:09:49 +01:00
Jules Blok
139ad3b2b9
TextureConversionShader: Use a Texture2DArray to match the shader resource view.
2015-02-21 11:50:20 +01:00
Jules Blok
c180174e4a
D3D: Use the correct format when resolving the EFB depth texture.
2015-02-21 11:50:19 +01:00
Markus Wick
6bbf774507
Merge pull request #2075 from magumagu/titantron-fix
...
Partially fix WWE12 titantron videos.
2015-02-21 10:09:47 +01:00
Scott Mansell
355be1719e
Fix regression with directx when zfreeze=true and ztest=false.
2015-02-21 10:52:29 +13:00
Pierre Bourdon
8b095a0178
Merge pull request #2059 from magumagu/palette-convert
...
Decode EFB copies used as paletted textures.
2015-02-20 01:11:25 +01:00
magumagu
074397c12d
Explicitly set up AllocateTexture configuration for palette conversion.
...
No functional change.
2015-02-19 15:57:05 -08:00
magumagu
0360e01eaf
Merge pull request #2040 from magumagu/gc-memmap
...
Try to fix our memory map to match the GameCube.
2015-02-19 15:44:36 -08:00
magumagu
ddc815dd7a
Remove TextureAddress struct.
2015-02-19 15:36:32 -08:00
magumagu
c0a4760f0e
Decode EFB copies used as paletted textures.
...
A number of games make an EFB copy in I4/I8 format, then use it as a
texture in C4/C8 format. Detect when this happens, and decode the copy on
the GPU using the specified palette.
This has a few advantages: it allows using EFB2Tex for a few more games,
it, it preserves the resolution of scaled EFB copies, and it's probably a
bit faster.
D3D only at the moment, but porting to OpenGL should be straightforward..
2015-02-19 15:09:27 -08:00
magumagu
314b241220
Try to fix our memory map to match the GameCube.
...
This basically just restores the RAM mirroring that existed before PR1856
(address translation).
2015-02-19 15:02:51 -08:00
Pierre Bourdon
fbbbad98e9
Merge pull request #2079 from lioncash/tables
...
PowerPC: Minor cleanups.
2015-02-19 22:51:34 +01:00
magumagu
d0c675af83
Merge pull request #2080 from lioncash/interp
...
Interpreter: Remove unnecessary prototypes and includes
2015-02-19 11:19:20 -08:00
Lioncash
8401b5a1f2
Interpreter: Remove unnecessary prototypes and includes
2015-02-19 13:20:24 -05:00
Lioncash
a60d3306b1
PowerPC: Get rid of magic numbers related to interp/JIT initialization.
2015-02-19 12:16:53 -05:00
Lioncash
d32359c915
PPCTables: Simplify UsesFPU
...
We can just retrieve the op info and check if the FPU flag is present
2015-02-19 12:16:44 -05:00
Pierre Bourdon
6a14300c9c
Merge pull request #2078 from lioncash/fwd
...
PPCTables: Remove an unnecessary forward declaration
2015-02-19 15:51:15 +01:00
Lioncash
e4df6026c4
PPCTables: Remove an unnecessary forward declaration
...
This class name isn't used anymore.
2015-02-19 09:08:00 -05:00
Lioncash
0fc3166b2f
PPCTables: Correct some flag descriptions
2015-02-19 08:56:18 -05:00
magumagu
4cdf9f543f
Partially fix WWE12 titantron videos.
...
The obvious question here is, why does it matter if we round or truncate?
The key is that GC/Wii does fixed-point interpolation, where PC GPUs do
floating-point interpolation. Discarding fractional bits makes the conversion
from floating-point to fixed point give more consistent results.
I'm not confident this is really the right fix, or that my explanation is
completely correct; ideally, we don't want to depend on floating-point
interpolation at all.
2015-02-18 19:41:00 -08:00
Lioncash
c8c61041ba
Merge pull request #2007 from lioncash/si
...
Core: Move several files into the correct VS directory filter.
2015-02-18 21:33:39 -05:00
Lioncash
bdca0dac29
Merge pull request #2071 from Sonicadvance1/Android_fix_unittests
...
[Android] Fix building unit tests.
2015-02-18 21:19:18 -05:00
Lioncash
2906f64e13
Merge pull request #2073 from Sonicadvance1/android_fix_formatchanges
...
[Android] Fix ignore format changes option.
2015-02-18 21:17:46 -05:00
kamiyo
e864521182
High Quality Resampler, using FIR filter
...
For more information:
https://docs.google.com/document/d/1tBEgsJh7QiwNwepXI0eobfK3U8LkJButSyeuFt1degM/edit?usp=sharing
removed: SSE includes (not used)
added: 16bit -> float -> 16bit functions
added: linear interpolator and high-quality (windowed-sinc) interpolator functions (including Resampler class)
added: dithering
changed: renamed variables and reformatted a few things to fit with style guide (braces, #include->const)
changed: use s16, u16, s32, u32 etc
changed: store samples and do all computations as floats
changed: volume from 0 - 255
2015-02-18 21:13:45 -05:00
mimimi085181
2f8e0c9bb9
Allow multiple texture cache entries for textures at the same address
...
This is the same trick which is used for Metroid's fonts/texts, but for all textures. If 2 different textures at the same address are loaded during the same frame, create a 2nd entry instead of overwriting the existing one. If the entry was overwritten in this case, there wouldn't be any caching, which results in a big performance drop.
The restriction to textures, which are loaded during the same frame, prevents creating lots of textures when textures are used in the regular way. This restriction is new. Overwriting textures, instead of creating new ones is faster, if the old ones are unlikely to be used again.
Since this would break efb copies, don't do it for efb copies.
Castlevania 3 goes from 80 fps to 115 fps for me.
There might be games that need a higher texture cache accuracy with this, but those games should also see a performance boost from this PR.
Some games, which use paletted textures, which are not efb copies, might be faster now. And also not require a higher texture cache accuracy anymore. (similar sitation as PR https://github.com/dolphin-emu/dolphin/pull/1916 )
2015-02-18 23:54:40 +01:00
Ryan Houdek
09e8adb199
[Android] Fix ignore format changes option.
...
This option was inversed, so it was always set to the opposite of what was wanted.
2015-02-18 16:27:37 -06:00
Ryan Houdek
19f8524304
Fix mulli's flags in the instruction tables.
...
It doesn't set RC, so this flag is incorrect.
2015-02-18 16:26:12 -06:00
Ryan Houdek
0567b28ba1
[Android] Fix building unit tests.
2015-02-18 16:24:30 -06:00
Shawn Hoffman
f91e8e9423
make libusb vcxproj use standard dolphin template and don't compile strerror.c.
2015-02-18 13:29:39 -08:00
Markus Wick
86226cb2b9
Merge pull request #1979 from Mullin/head
...
Use clock_gettime instead of gettimeofday, it's more efficiency on low power system
2015-02-18 21:54:16 +01:00
Mullin
797fc14414
Use clock_gettime instead of gettimeofday, it's more effiency on low power system
...
Add def for mac(They don't support clock_gettime)
Fix my mistake
Fix my mistake 2
2015-02-18 21:44:58 +01:00
Pierre Bourdon
8cc6e5cff9
Merge pull request #1854 from JosJuice/read-disc-after-delay
...
DVDInterface: Read disc after delay, not before
2015-02-18 20:35:07 +00:00
Pierre Bourdon
042fcbcbca
Merge pull request #2067 from magumagu/cputhread-assert
...
Disable an IsCPUThread() assert in Release builds.
2015-02-18 16:22:23 +00:00
Pierre Bourdon
96041a5aca
Merge pull request #2068 from mimimi085181/hash-fix
...
GetCRC32: Fix the hash for the last byte(s)
2015-02-18 13:43:06 +00:00
mimimi085181
f6c9b8243e
GetCRC32: Fix the hash for the last byte(s)
...
This fixes issue 8227
https://code.google.com/p/dolphin-emu/issues/detail?id=8227
2015-02-18 14:26:28 +01:00
Ryan Houdek
ef2fba2e85
Merge pull request #2070 from lioncash/unused
...
PowerPC: Remove unused enum values
2015-02-17 23:42:46 -06:00
Lioncash
78d917b0b3
PowerPC: Remove unused enum values
2015-02-18 00:37:32 -05:00
Lioncash
0b3a2ae4ca
PowerPC: Document the instruction table flags
...
Should make it easier for newcomers to get up to speed.
2015-02-18 00:17:51 -05:00
Buddybenj
265a21a565
Replace Country Names With No-Intro Names
2015-02-17 18:50:10 -06:00
Ryan Houdek
127e742992
Merge pull request #2046 from Mullin/Fix-unsigned/signed-stores
...
[ARMv7] Fix unsigned/signed stores
2015-02-17 14:38:36 -06:00
Mullin
39aa2432a6
Fix signed/unsigned stores
2015-02-17 21:29:01 +01:00
Fiora
53bf21e15a
Merge pull request #2066 from lpereira/regcache-with-variadic-tpl
...
Jit64: Use variadic templates for RegCache locking
2015-02-17 08:53:07 -08:00
Lioncash
39e121e551
Merge pull request #2064 from magcius/fix-tilt
...
WiimoteEmu: Add back the calibrated accel data to the EEPROM
2015-02-17 11:14:09 -05:00
JosJuice
3ac0977bc6
DVDInterface: Read disc after delay, not before
2015-02-17 14:57:36 +01:00
Leandro Pereira
1162c5344b
Jit64: Use variadic templates for RegCache locking
2015-02-17 10:01:42 -02:00
Ryan Houdek
3aa605236d
Merge pull request #2041 from Sonicadvance1/AArch64_vertex_loader
...
[AArch64] Vertex loader and things
2015-02-17 00:51:51 -06:00
Ryan Houdek
ed008c3a69
[AArch64] Change the vertex loader over to using unscaled loadstores.
...
In nearly all direct loadstore cases we can use unscaled loadstores.
Still have a fallback in case we hit a situation that we /can't/ do a unscaled loadstore.
2015-02-16 22:03:09 -06:00
Ryan Houdek
120df4c688
[AArch64] Implement loadstore unscaled.
2015-02-16 22:00:43 -06:00
magumagu
77a0bfdd8f
Merge pull request #2055 from magumagu/fakevmem-code
...
Allow executing code out of FakeVMEM.
2015-02-16 19:13:14 -08:00
magumagu
cce503c879
Disable an IsCPUThread() assert in Release builds.
...
IsCPUThread is extremely slow at the moment, and this code runs
frequently.
2015-02-16 19:07:42 -08:00
Jasper St. Pierre
e53268be1b
WiimoteEmu: Add back the calibrated accel data to the EEPROM
...
It seems that games actually read this to determine how to act, which
isn't particularly strange. I was imagining it was more for the
Wiimote's internal normalization, but I was wrong.
2015-02-16 15:16:23 -08:00
Ryan Houdek
2ebe57ed3f
Convert our vertex loader unit test to the new RunVertices arguments arrangement.
2015-02-16 16:51:39 -06:00
Ryan Houdek
f54a0d3ff4
[AArch64] Minor floating point loadstore improvements.
...
These use the Vector x Element FMUL instruction to improve speeds slightly.
Should give ~3cycle improvement per quantized loadstore done.
2015-02-16 16:51:39 -06:00
Ryan Houdek
b4b03641b3
[AArch64] Implement vertex loader recompiler.
...
Shows a noticeable reduction in time spent in the vertex loader.
2015-02-16 16:51:32 -06:00
magumagu
f316265973
Fix the addresses of MMIO registers.
...
MMIO registers are located at 0x0C000000 and 0x0D000000, not 0xCC000000.
The 0xCC000000 addresses are just an artifact of address translation.
2015-02-15 18:29:37 -08:00
magumagu
5b6a947e8f
Merge pull request #2035 from magumagu/remove-bat-option
...
Remove the BAT checkbox/setting/implementation.
2015-02-15 17:27:18 -08:00
Scott Mansell
43dfec07c9
Cleanup DotProduct function to make it more readable.
2015-02-16 13:53:58 +13:00
Scott Mansell
7add7b685f
Remove unneeded spaces from code.
...
Line now matches the style of the rest of the function.
2015-02-16 12:59:45 +13:00
Lioncash
16a6392308
Merge pull request #2054 from lioncash/disable
...
DolphinWX: Change Enable(false) calls into Disable() where possible
2015-02-15 13:26:44 -05:00
Markus Wick
f38b3ace38
Merge pull request #2038 from magumagu/disable-thread-safety-checks
...
Disable thread safety assertions added in PR1987.
2015-02-15 10:33:19 +01:00
skidau
d601657c99
Merge pull request #2045 from greyrogue/master
...
Add Datel AGP save commands for SRAM/FRAM. Improve EEPROM.
2015-02-15 12:57:58 +11:00
Pierre Bourdon
b7916f9655
Merge pull request #2057 from lioncash/busy
...
DolphinWX: Remove unnecessary wxBeginBusyCursor and wxEndBusyCursor calls
2015-02-15 01:54:59 +00:00
greyrogue
2d4aa2a195
Add save commands for SRAM/FRAM. Improve EEPROM.
...
Handle possible endian file read issues at file access time instead of
using Swap64 on every access.
Code comments and clean up.
2015-02-14 20:36:26 -05:00
skidau
72e8e78ec8
Merge pull request #2037 from magumagu/illegal-inst-handling
...
Improve illegal instruction handling.
2015-02-15 12:34:08 +11:00
skidau
32d8f887fe
Merge pull request #2032 from mathieui/update-libusb-externals
...
Update the libusb in externals to 1.0.19 (latest)
2015-02-15 12:32:10 +11:00
Lioncash
537ad96ece
DolphinWX: Remove unnecessary wxBeginBusyCursor and wxEndBusyCursor calls
...
The UI greys all buttons when shutting down, so it's sufficient as a visual cue
2015-02-14 19:43:59 -05:00
Pierre Bourdon
3500740dd4
Windows AVIDump: support "silent" frame dumping
...
When enabled, the silent option will avoid popping up dialog boxes for
overwrite confirmation or codec selection. The codec selection defaults to
uncompressed RGB.
This is required for FifoCI on Windows which needs to drive Dolphin from the
command line exclusively.
2015-02-14 23:38:14 +01:00
magumagu
001bf9152e
Allow executing code out of FakeVMEM.
...
Fixes regression from PR1856 (address translation).
2015-02-14 14:08:46 -08:00
Lioncash
50f600c834
DolphinWX: Change Enable(false) calls into Disable() where possible
2015-02-14 16:00:15 -05:00
Markus Wick
405444d4fe
Merge pull request #1803 from lioncash/rgb
...
OnScreenDisplay: Allow for different colored messages
2015-02-14 10:47:47 +01:00
skidau
61b19bda3e
Merge pull request #2042 from unknownbrackets/gcz-fix
...
DiscIO: On decompress to file, write last blocks correctly
2015-02-14 13:46:06 +11:00
Lioncash
e3b9be6dbb
Core: Move several files into the correct VS directory filter
2015-02-13 20:57:23 -05:00
Tillmann Karras
1a52cff1c9
VertexLoaderManager: reset stats properly
2015-02-14 02:30:05 +01:00
Tillmann Karras
a7cc36e711
Movie: reintroduce a local variable
2015-02-14 02:27:15 +01:00
Lioncash
6558704403
Merge pull request #2030 from lioncash/destroy
...
DolphinWX: Get rid of unnecessary Destroy calls
2015-02-13 20:22:01 -05:00
Rachel Bryk
b66df8424a
Remove an unneeded global variable from Movie.cpp.
2015-02-13 20:11:44 -05:00
Pierre Bourdon
4ceae57713
Merge pull request #2015 from Stevoisiak/WAD-Version-Check
...
VolumeWad: Return version number for WADs
2015-02-13 22:09:30 +01:00
Ryan Houdek
15e41c67f8
Change RunVertices' function arguments.
...
This reduces some dumb state shuffling when calling the emitted vertex loaders.
2015-02-13 12:16:06 -06:00
Ryan Houdek
b989c2fd8f
[AArch64] Fix another assert in the JIT register cache.
2015-02-13 12:16:06 -06:00
Ryan Houdek
814aaaf538
[AArch64] Implement a couple of emitter instructions.
...
These will be used with the vertex loader JIT recompiler.
2015-02-13 12:16:06 -06:00
Ryan Houdek
0252bbb33f
[AArch64] Fix non-PCH build.
2015-02-13 12:16:05 -06:00
Ryan Houdek
8074d06270
[ARM] Fix poison memory functions.
...
We were poisoning 4x more data and overrunning our buffers. We don't want to do this.
2015-02-13 12:16:05 -06:00
Ryan Houdek
20dae1f210
[AArch64] Fix a bunch of emitter asserts.
...
Since I've added the msg handler. I found all these asserts that were backwards. So they were asserting on the correct arguments.
2015-02-13 12:16:05 -06:00
Ryan Houdek
57c66798fc
[Android] Register panic alert handler.
...
This lets me see _assert_msg_ alerts on Android when passing dumb arguments to my AArch64 emitter.
2015-02-13 12:15:59 -06:00
Tillmann Karras
1b38800a67
DolphinWX: fix -e parameter
2015-02-13 10:34:18 +01:00
Tillmann Karras
d33e760c55
Jit64: turn short jmp into near jmp
...
Fixes a regression from #1856's ac54c6a
.
2015-02-13 07:51:34 +01:00
Unknown W. Brackets
df5857b5af
DiscIO: On decompress to file, write last blocks.
2015-02-12 20:30:11 -08:00
magumagu
6797718950
Merge pull request #2039 from magumagu/pr1856-typos
...
Fix typos from PR1856 (address translation).
2015-02-12 16:18:54 -08:00
magumagu
f9e8ad39fc
Fix typos from PR1856 (address translation).
2015-02-12 12:11:33 -08:00
magumagu
98b809a05e
Disable thread safety assertions added in PR1987.
...
We do a whole bunch of non-threadsafe stuff, especially in the UI, and I'm
probably not going to get around to implementing a threadsafe framework
for interaction between the UI and the CPU thread anytime soon. See issue
8220.
2015-02-12 11:54:17 -08:00
magumagu
985087c7e2
Make all unknown opcodes behave consistently.
...
Consistently fall back to the interpreter for unknown instructions, and
make sure GetOpInfo() always returns a non-null pointer.
2015-02-11 22:18:33 -08:00
magumagu
e640ef9d7b
Improve illegal instruction handling.
...
This should more reliably show an error message for illegal
instructions.
2015-02-11 21:01:00 -08:00
magumagu
aa40f750d4
Remove the BAT checkbox/setting/implementation.
...
The current version of the setting is useless, and the real implementation
(PR1882) will be always-on, and won't use any of the existing code.
2015-02-11 20:24:51 -08:00
Lioncash
c7c6bdbf5a
Merge pull request #2027 from Buddybenj/change-wording
...
Change Wording
2015-02-11 23:23:22 -05:00
magumagu
49f223a211
Remove setting "BlockMerging".
...
It isn't hooked up to anything anymore, and it isn't the sort of thing we
want users messing with anyway.
2015-02-11 19:52:48 -08:00
Tillmann Karras
0ec48e0ec9
JitRegister: fix VTune integration
2015-02-12 02:14:49 +01:00
magumagu
0e0a196a1c
Merge pull request #1856 from magumagu/correct-translation-disable-2
...
Make address translation respect the CPU translation mode
2015-02-11 17:04:12 -08:00
Benjamin Przybocki
8cf4a57844
Change Wording
...
All of the other descriptions for drop-down menus use select.
2015-02-11 18:43:47 -06:00
Tillmann Karras
4fa38f0c02
Externals: update libusb to version 1.0.19
2015-02-12 01:04:43 +01:00
Pierre Bourdon
b7e455ece8
Merge pull request #2031 from degasus/master
...
ShaderGen: Fix pixel offset correction
2015-02-12 00:39:27 +01:00
magumagu
4193350d22
Memmap: add an explanation of Dolphin's memory layout.
2015-02-11 15:22:21 -08:00
skidau
4ff5ec7117
Merge pull request #1984 from mathieui/GCAdapter-fixes
...
Fix issues with the GC adapter handling code
2015-02-12 09:54:53 +11:00
magumagu
aaee23d1b4
Fix ARM64 build for address translation changes.
2015-02-11 13:56:38 -08:00
magumagu
e136c8a066
PowerPC: misc cleanup.
2015-02-11 13:56:36 -08:00
magumagu
ac54c6a4e2
Make address translation respect the CPU translation mode.
...
The PowerPC CPU has bits in MSR (DR and IR) which control whether
addresses are translated. We should respect these instead of mixing
physical addresses and translated addresses into the same address space.
This is mostly mass-renaming calls to memory accesses APIs from places
which expect address translation to use a different version from those
which do not expect address translation.
This does very little on its own, but it's the first step to a correct BAT
implementation.
2015-02-11 13:56:22 -08:00
degasus
c404e87226
ShaderGen: Fix pixel offset correction
...
We want to move the vertex by 1/12 pixel, but the old code
did miss the perspective division. So by multiplying with pos.w,
the position is moved correctly after the perspective division.
2015-02-11 20:54:15 +01:00
JosJuice
f9d6c17c08
Use CoreParameter's game INI functions in more places
2015-02-11 19:01:05 +01:00
JosJuice
e186104960
Don't use revision-specific unique ID strings outside of CoreParameter
2015-02-11 19:01:04 +01:00
JosJuice
47e67f9696
CoreParameter: Support game INIs that match all regions
2015-02-11 19:01:03 +01:00
JosJuice
8670f2a627
CoreParameter: Unify LoadDefaultGameIni and LoadLocalGameIni
...
A side effect of this is that user INIs now can specify revisions.
I don't think anyone will use it, but there's no reason to not allow it.
2015-02-11 19:01:03 +01:00
JosJuice
d73a6ea3b7
Move some BootManager game INI code to CoreParameter
2015-02-11 19:01:02 +01:00
Lioncash
9a6b6a99e8
DolphinWX: Get rid of unnecessary Destroy calls
...
Removes the requirement for stack allocated InputConfigDialogs to call Destroy. This shouldn't be necessary for wxDialog derivatives.
This also fixes a leak that would occur every time an InputConfigDialog is opened and closed. wxWindow subclasses (this includes wxDialog) only destroy child windows and sizers (including things in the sizers). So every wxTimer allocation would have resulted in a leak.
2015-02-11 09:38:38 -05:00
magumagu
d9988ee9b5
Merge pull request #1987 from magumagu/thread-safety
...
Cleanup usage of atomic/threadsafe functions
2015-02-10 13:48:12 -08:00
magumagu
0f96a0104e
Merge pull request #1752 from Buddybenj/clean-up
...
Clean Up
2015-02-10 11:39:14 -08:00
magumagu
1acd80f23f
Merge pull request #1779 from riking/pr-rename-boot-from-dvd
...
Reword "Boot from DVD Drive" -> "DVD Backup" menu option
2015-02-10 11:07:44 -08:00
Lioncash
07556b4849
WiimoteEmu: Change define into a variable and move it to where it's used.
2015-02-10 11:46:04 -05:00
Markus Wick
2aef84d80c
Merge pull request #2025 from phire/be-neobrain
...
Remove VBeam Speed Hack.
2015-02-09 12:55:58 +01:00
Scott Mansell
4cb01673a0
Remove now useless NumFields Function which always returned 1.
2015-02-10 00:48:06 +13:00
Scott Mansell
8f416821ad
Remove VBeam Speedhack.
2015-02-09 23:10:30 +13:00
Markus Wick
b79015186e
Merge pull request #2023 from mrgreywater/d3d-efb-ms-crash-fix
...
D3D: Fixed crash rendering EFB textures with MSAA
2015-02-08 22:11:15 +01:00
mr.greywater
2434b531f3
D3D: Fixed crash rendering EFB textures with MSAA
...
Rendering EFB textures currently crashes with the D3D backend when MSAA is enabled, because the depth texture wasn't correctly resolved. An example for a crash would be starting Pokemon Snap with D3D and MSAA enabled.
2015-02-08 21:03:15 +01:00
Fiora
451c4f3c4b
Merge pull request #1969 from JosJuice/dvd-decryption-optimization
...
VolumeWiiCrypted: Decryption optimization
2015-02-08 11:57:55 -08:00
mr.greywater
a1f8c232b2
Fix warning message when loading german discs
...
Added COUNTRY_GERMANY as EUR_DIR so it will not show the warning message that the GCM/ISO is invalid. Also refactors the code to remove duplicate code.
2015-02-08 16:38:35 +01:00
JosJuice
28b441ebea
VolumeWiiCrypted: Replace some hardcoded values with constants
2015-02-08 10:31:17 +01:00
Lioncash
537b9e507b
Merge pull request #1998 from FL-dolphinemu/align_g_HKData_struct
...
Vertical aligned all members of g_HKData struct.
2015-02-07 21:31:45 -05:00
Lioncash
9d5c6c55fe
OnScreenDisplay: Allow for different colored messages
2015-02-07 17:35:21 -05:00
Lioncash
3767ddcacf
Merge pull request #2019 from Buddybenj/website
...
Web Site -> Website
2015-02-07 17:06:23 -05:00
Fiora
73d65f3ad3
Merge pull request #1874 from magumagu/remove-unchecked-reads
...
JIT: cleanup instrction merging for idle loop and dcbst.
2015-02-07 13:48:22 -08:00
Benjamin Przybocki
e75b5165c2
Web Site -> Website
2015-02-06 16:13:35 -06:00
skidau
8f4bcf3ec3
Merge pull request #2012 from lioncash/memswitch
...
Memmap: Fix switch fallthroughs
2015-02-06 21:47:24 +11:00
skidau
66d80b75e2
Merge pull request #1939 from Sintendo/dspjit_ccnits
...
Minor DSP JIT optimizations
2015-02-06 13:53:09 +11:00
Stevoisiak
b578abfbaa
VolumeWad: Return version number for WADs
2015-02-05 11:27:57 -05:00
JosJuice
3414f818cd
DVDInterface: Get rid of DVDCommandResult struct
...
It's only used in one place and is no longer necesssary.
2015-02-05 15:10:31 +01:00
JosJuice
af4f872dfe
DVDInterface: Schedule event in ExecuteCommand
2015-02-05 15:10:14 +01:00
mathieui
8e556603af
Fix issues with the GC adapter handling code
...
If we successfully detach the kernel driver from the interface, we
should continue instead of aborting the setup.
And we should not use libusb_handle_events(), as the API says it is only
for backwards compatibility. Additionally, if the adapter thread is not
active, dolphin will take 60 seconds to close because the
libusb_handle_events() timeout is hardcoded to 60 seconds. Instead, use
libusb_handle_events_timeout_completed() with a timeout of 1 second.
Also, cancel the libusb transfers before the join(), to be able to close
the usb device without libusb screaming in the background (and
potentially crashing).
And finally, split the Init() and Shutdown() functions to avoid having
to init and exit libusb every time we neeed to detect the adapter.
2015-02-05 10:03:21 +01:00
Sintendo
46df8a5358
Correct clobber comments
2015-02-04 22:26:40 +01:00
Sintendo
ca0790e9c9
Merge Update_SR_Register64_Carry functions
2015-02-04 22:26:40 +01:00
Sintendo
34afe08de9
Minor DSP JIT optimizations
2015-02-04 22:26:39 +01:00
degasus
68c70be960
HotKey: fix warnings
2015-02-04 20:19:16 +01:00
Gabriel Corona
266d50c811
Use the C locale for non-Windows CharArrayFromFormatV() and StringFromFormat()
...
The Windows implementations of CharArrayFromFormatV() and
StringFromFormat() use the "C"/".1252" locale instead of the user
locale (using _vsnprintf_l). On non-Windows, the user locale was used.
This leads to bugs on non-Windows: the Overclock parameter was
serialised with the user locale ("0,279322" in some locale) and was
interpreted back as "0" (because the C locale is used for parsing the
string).
Make non-Windows CharArrayFromFormatV() and StringFromFormat()
consistent with their Windows counterpart.
The locale code is not enables for Android:: uselocale is only
available since API 21 and API 21 only supports C and C.UTF-8.
2015-02-04 17:49:22 +01:00
Lioncash
e07679114b
Use emplace_* functions where in-place construction is preferable
2015-02-04 11:39:08 -05:00
Lioncash
d7c6a7522d
Memmap: Fix switch fallthroughs
...
Fixes a bug where out of range MEM2 accesses would hit the locked cache.
2015-02-04 08:28:52 -05:00
skidau
3709a1ce3a
Fixed the crash which occurred when opening Wiimote configuration before a game was started.
2015-02-04 18:48:19 +11:00
skidau
fc8ea9c3b3
Ignore hotkeys if the game has not started.
2015-02-04 18:06:20 +11:00
skidau
b9fb6ad3e8
Initialised all controller interfaces together on CFrame construction to fix the crash that would occur if the controller config were opened before a game was started.
2015-02-04 18:05:22 +11:00
skidau
5e645732f2
Merge pull request #1949 from skidau/hotkey-input
...
Added the ability to map gamepad buttons to hotkeys.
2015-02-04 14:35:03 +11:00
skidau
c18c50a0e1
Merge pull request #1904 from magumagu/d3d-allow-nooutput-adapter
...
D3D: allow selecting adapters with no outputs.
2015-02-04 13:09:27 +11:00
Markus Wick
b2df8cb87f
Merge pull request #2005 from magumagu/d3d-efb-depth
...
Fix regression for D3D EFB depth copies.
2015-02-03 20:50:20 +01:00
magumagu
57d94de2ad
Fix regression for D3D EFB depth copies.
...
On D3D, we read from the depth buffer using the format
DXGI_FORMAT_R24_UNORM_X8_TYPELESS (essentially, the "r" component contains
the depth, and the other components contain nothing).
2015-02-03 11:27:27 -08:00
skidau
4e7d2ab893
Merge pull request #1985 from CarlKenner/accelerometers
...
Fix accelerometer wiimote/nunchuk emulation.
2015-02-02 12:15:43 +11:00
Lioncash
031422c596
Merge pull request #2000 from degasus/master
...
VideoBackends: set GLInterface to zero after deleting it
2015-02-01 07:59:18 -05:00
degasus
081137bd4f
VideoBackends: set GLInterface to zero after deleting it
...
This fixes a crash on opening the gfx settings after closing a game.
2015-02-01 13:51:34 +01:00
FL.dolphinemu
4f65787888
Vertical aligned all members of g_HKData struct.
2015-02-01 10:07:22 +01:00
Ryan Houdek
f9c2d73970
Remove an old comment about stfiwx.
...
This instruction does exactly what it is supposed to. No need for this comment.
2015-02-01 00:30:53 -06:00
Markus Wick
3c475b91ea
Merge pull request #1993 from Armada651/line-perspective
...
GeometryShaderGen: Perspective divide the line coordinates before comparing the angle.
2015-01-31 23:45:54 +01:00
Jules Blok
8c55ec0d51
GeometryShaderGen: Perspective divide the line coordinates before comparing the angle.
2015-01-31 23:32:23 +01:00
Markus Wick
ca5e2e6f16
Merge pull request #1989 from lioncash/leak
...
OGL: Fix a memory leak that would occur every time a game is launched
2015-01-31 23:06:21 +01:00
Lioncash
9476756d43
OGL: Fix a memory leak that would occur every time a game is launched
2015-01-31 16:00:53 -05:00
magumagu
30d15b3a32
Clean up usage of PowerPCState::Exceptions.
...
Accessing any member of ppcState from a thread other than the CPU thread
is not allowed; don't pretend that there's any exception to that rule.
2015-01-31 12:02:45 -08:00
Tillmann Karras
1aac65f988
VertexLoaderManager: assimilate GetVertexSize()
2015-01-31 09:23:50 +01:00
skidau
d50b330d57
Merge pull request #1976 from lioncash/size
...
InputConfigDiag: Fit buttons to their text
2015-01-31 12:34:35 +11:00
skidau
3b07fe01a2
Merge pull request #1982 from skidau/AGP-hash
...
Advance Game Port (AGP) fixes
2015-01-31 12:34:01 +11:00
magumagu
5a3f75f5cf
Use faster CheckGatherPipe from JIT.
...
We don't need to profile explicit calls to CheckGatherPipe: we aleady know
where they are. Skip profiling, and explciitly insert an exception check.
While I'm here, get rid of unused code in JitIL.
2015-01-30 17:00:58 -08:00
magumagu
47be9d8e6b
Clean up usage of ScheduleEvent_Threadsafe.
2015-01-30 14:48:23 -08:00
Ryan Houdek
a277172b49
Merge pull request #1980 from Sonicadvance1/AArch64_more_optimizations
...
[AArch64] Minor optimizations
2015-01-30 08:33:19 -06:00
Ryan Houdek
7cd80200ed
[AArch64] Remove an extraneous nop in 8bit fastmem stores.
2015-01-30 08:30:17 -06:00
Ryan Houdek
4ff2f105cc
[AArch64] Implement MMIO Writes.
2015-01-30 08:30:11 -06:00
Lioncash
b1547b9c8b
Use unique_ptr for some IVolume instances
2015-01-29 21:33:19 -05:00
skidau
ccc1e9aa65
Changed the hash array to a CRC8 function.
2015-01-30 13:33:17 +11:00
CarlKenner
fb370110dc
Fix horribly broken accelerometer emulation.
...
It now emulates the least significant bits.
And it no longer treats maximum acceleration in one direction as being in the opposite direction.
2015-01-30 12:38:21 +10:30
skidau
855ad6f1d3
Fixed an overflow bug in Jit64.
2015-01-30 13:00:23 +11:00
skidau
a42fb80f6a
Added a hash key finder.
...
Fixed the memcard and AGP path parsing in Windows (the code is expecting '/' to be used as the DIR_SEP).
2015-01-30 13:00:23 +11:00
skidau
b92eb03d26
Merge pull request #1973 from degasus/master
...
OpcodeDecoder: Calculate decoding time for vertices
2015-01-30 12:58:52 +11:00
skidau
83a9f1b850
Merge pull request #1972 from lioncash/ref
...
EXI_DeviceAGP: Pass string by reference
2015-01-30 12:58:26 +11:00
skidau
a7ab6684fc
Merge pull request #1971 from Sonicadvance1/Android_update_cmake
...
Update Android cmake.
2015-01-30 12:58:14 +11:00
degasus
20628b6e5d
OpcodeDecoder: Calculate decoding time for vertices
2015-01-29 19:55:28 +01:00
Ryan Houdek
a2b872b9da
Merge pull request #1983 from Sonicadvance1/remove_comment
...
Remove an old outdated comment that makes no sense.
2015-01-29 09:51:16 -06:00
Ryan Houdek
9b4a896353
Remove an old outdated comment that makes no sense.
...
This comment was left over from a long time ago. It is no longer true.
2015-01-29 09:40:22 -06:00
Ryan Houdek
631c8a981e
[AArch64] Minor performance improvements to paired stores.
...
We can combine these two ST1 calls in to a single ST1 call.
Saves a few cycles in paired stores
2015-01-29 06:07:00 -06:00
Ryan Houdek
235f6c2445
[AArch64] Don't flush VFP register to stack when not needed.
2015-01-29 06:07:00 -06:00
Ryan Houdek
c8c062fa96
[AArch64] Add support for MMIO loads.
...
Should give a small performance benefit.
2015-01-29 06:06:54 -06:00
Ryan Houdek
1c388b6c37
Fix clang on x86_64.
...
If we are compiling in the CRC32 hash, clang has an issue with casting a s32 to a u64.
Change our lens argument to a unsigned integer to fix the issue.
2015-01-29 01:55:20 -06:00
Ryan Houdek
8c53b88cc3
[AArch64] Implement a way to call lambdas in the emitter
2015-01-29 01:50:11 -06:00
Lioncash
73b77f55ba
DSPDebugWindow: Fix issue where the DSPLLE window would hang Dolphin on OSX
2015-01-28 14:01:11 -05:00
Rohit Nirmal
5203c4ef7b
Silence -Wunused-variable warning.
2015-01-28 18:09:07 +00:00
Lioncash
cf156d4d37
InputConfigDiag: Fit buttons to their text
...
Fixes slight sizing issues on high DPI displays.
2015-01-28 13:07:17 -05:00
Markus Wick
109fa8c2c8
Merge pull request #1800 from randomstuff/jit-register
...
Add support of more JIT-compiled code for profiling
2015-01-28 13:23:32 +01:00
Gabriel Corona
c3777bbd69
JitRegister: TrampolineCache
2015-01-28 10:41:45 +01:00
Gabriel Corona
329834f653
JitRegister: JitAsm
2015-01-28 10:41:03 +01:00