JosJuice
bbd7370d82
DVDInterface: Tweak speeds
2014-12-02 12:27:03 +01:00
Lioncash
54f1e3a3c1
Merge pull request #1630 from lioncash/unused
...
WII_IPC_HLE_Device_fs: Remove unused macro constant
2014-12-01 21:49:07 -05:00
skidau
b34c80d138
Merge pull request #1626 from kamiyo/fix-wiimote-volume-divisor
...
Fix Wiimote speaker divisor for format 0x00
2014-12-02 12:51:15 +11:00
Lioncash
11e6d75ea6
WII_IPC_HLE_Device_fs: Remove unused macro constant
2014-12-01 19:33:53 -05:00
Lioncash
af5b1063bf
Merge pull request #1619 from FioraAeterna/removepxor
...
JIT: remove unnecessary pxor in paired stores
2014-12-01 15:50:31 -05:00
kamiyo
e8c393b00f
Fix wiimote speaker divisor.
...
Playing with the wiimote volume in the Wii menu in-game, I found that the range for m_reg_speaker.volume is 0 -127, not 0 - 64.
2014-12-01 13:06:53 -05:00
Ryan Houdek
4946c6876d
Merge pull request #1607 from Sonicadvance1/armv7-optimizations
...
A whole bunch of ARMv7 optimizations and minor fixes.
2014-11-30 15:48:27 -06:00
Fiora
644a661bf1
JIT: remove unnecessary pxor in paired stores
...
I don't think this is necessary anymore?
2014-11-30 08:11:45 -08:00
magumagu
4bb48d09dd
DiskIO: Clean up GetTMD() API.
2014-11-30 16:38:13 +01:00
magumagu
b1df4e5986
Make DVDLowOpenPartition actually change partitions.
2014-11-30 16:01:05 +01:00
Ryan Houdek
cd13d2d66f
[ARM32] Fix a couple bugs in the paired loadstore routines.
...
This code was obviously wrong, we were sign extending 8 bit unsigned values and loading from the wrong offset as well.
This fixes a bug in Muramasa where some colours were going insane.
2014-11-30 04:10:17 +00:00
Ryan Houdek
b848365f78
[ARM32] Minor optimization in paired loadstores.
...
When the offset can fit in the instruction encoding make sure to do so.
2014-11-30 04:10:16 +00:00
Ryan Houdek
52c6fb180b
[ARM32] Moves loadstore extend flag to backpatch code.
2014-11-30 04:10:16 +00:00
Ryan Houdek
32dc105aa3
[ARM32] Eat a register to store our memory base.
...
This saves at least two instructions per fastmem operation.
2014-11-30 04:10:16 +00:00
Ryan Houdek
e2f8286415
[ARM32] Adds unsigned compares.
...
Superscedes PR #1131 .
Optimizes cmpi a bit.
2014-11-30 04:10:16 +00:00
Ryan Houdek
581ab9edec
[ARM32] cntlzwx optimization if source is immediate
2014-11-30 04:10:16 +00:00
Ryan Houdek
9c82adb14f
[ARM32] negx optimization if source is immediate
2014-11-30 04:10:15 +00:00
Ryan Houdek
1dbb39f791
[ARM32] srawix optimization when source is an immediate.
2014-11-30 04:10:15 +00:00
Ryan Houdek
fca0fd9dd5
[ARM32] rlwimix and rlwnmx optimizations.
2014-11-30 04:10:15 +00:00
magumagu
c693cf46e9
JIT: remove unused flag.
2014-11-29 12:41:36 -08:00
Fiora
72c96c20d3
JIT: more optimizing of float ops based on known input characteristics
...
If the inputs are both float singles, and the top half is known to be identical
to the bottom half, we can use packed arithmetic instead of scalar to skip
the movddup.
This is slower on a few rather old CPUs, plus the Atom+Silvermont, so detect
Atom and disable it in that case.
Also avoid PPC_FP on stores if we know that the output came from a float op.
2014-11-29 11:33:11 -08:00
Fiora
4e0591cdf1
JIT: float instruction attribute fixes, fix binding mistakes
...
These instructions modify only the bottom halves of the output register,
so the output register needs to be treated as an input too.
2014-11-29 11:30:52 -08:00
Fiora
8d039a77af
JIT: minor cleanup, avoid MOVSD where MOVAPD will do
...
Avoids false dependencies.
2014-11-29 11:30:51 -08:00
Fiora
7df50b0710
JIT: skip weird fmul rounding if the input is known to be single precision
2014-11-29 11:30:51 -08:00
Ryan Houdek
f588a82b9a
Merge pull request #1294 from FioraAeterna/noaccuratefcmp
...
JIT: remove "accurate fcmp" option
2014-11-28 22:48:11 -06:00
Ryan Houdek
1aed2542c7
Merge pull request #1602 from FioraAeterna/fixforce25bitimprecise
...
JIT: fix Force25BitPrecision with accurate single precision mode off
2014-11-28 22:42:44 -06:00
Ryan Houdek
5003618587
Merge pull request #1605 from FioraAeterna/fixcrormerge
...
JIT: fix fcmp+cror merging bug
2014-11-28 22:39:13 -06:00
Ryan Houdek
1a85df0459
Merge pull request #1603 from FioraAeterna/nofastinterrupts
...
JIT: remove "fast interrupts" option set and then used nowhere
2014-11-28 22:37:52 -06:00
Ryan Houdek
ec3d6da7b5
[ARM32] Remove conditional execution from store instructions.
2014-11-29 02:44:17 +00:00
Ryan Houdek
6c399ce9ae
[ARM32] Removes a block of conditional execution in the dispatcher.
2014-11-29 02:42:30 +00:00
Ryan Houdek
e358696d46
[ARM32] Removes conditional execution from ARMv7's Jit function.
2014-11-29 02:42:22 +00:00
Fiora
d42305aba0
JIT: fix fcmp+cror merging bug
...
Destination CR bit needs to be cleared if it's not one of the sources.
2014-11-28 16:11:04 -08:00
Jasper St. Pierre
854f6b8688
HW: Poll system input from system timers
...
Rather than playing terrible hacks to determine the start of input
frames, just update system input periodically. Specifically, every
60th of a second.
2014-11-28 10:56:11 -08:00
Jasper St. Pierre
f3b739341e
HW: Remove UpdateOutput
...
All of the rumble interfaces are now immediate mode.
2014-11-28 10:54:04 -08:00
Jasper St. Pierre
1cee3b8cc6
WiimoteEmu: Hardcode acceleration calibration values
...
Now we don't have any runtime calibration at all.
2014-11-28 10:51:30 -08:00
Jasper St. Pierre
5f6cfd67b7
Nunchuk: Hardcode Nunchuk accelerometre calibration values as well
2014-11-28 10:51:30 -08:00
Jasper St. Pierre
211eafc130
Nunchuk: Hardcode Nunchuk stick calibration values
...
The game can never change these, so there's no reason to make it
dynamic. Just put the constants in the code.
While we're at it, take the time to clean up the code and also
and document several of the hacks we're doing inside to make the code
clearer to understand.
2014-11-28 10:51:30 -08:00
Jasper St. Pierre
64014d1dcd
Nunchuk: Use the accel_cal struct directly in nu_cal
2014-11-28 10:51:30 -08:00
Jasper St. Pierre
cd95002356
WiimoteHid: Remove unused structs
2014-11-28 10:51:30 -08:00
Jasper St. Pierre
fca9b491cc
WiimoteEmu: Remove Spy method
...
This is the only use for a lot of unused methods and structs, and it's a
poorly written mess that doesn't even compile. Just remove it so we can
clean up the rest of a lot of code.
2014-11-28 10:51:30 -08:00
Jasper St. Pierre
e43ad58a3a
GCPad: Clean up Motor/Rumble interfaces
...
Remove the duplication here and just have one Rumble interface that
takes a single strength parameter.
2014-11-28 10:50:45 -08:00
Jasper St. Pierre
6aa1a59ee8
SI: Clean up controller-like devices with subclassing
...
This takes the giant mess of controller-like devices (dance mat and
steering wheel) down to something more manageable, similar to how
the Donkey Konga bongo controller works.
Based-on-a-patch-by: comex <comexk@gmail.com>
2014-11-28 10:50:45 -08:00
Ryan Houdek
ce059769f6
Merge pull request #1439 from Armada651/ogl-stereo-3d
...
OGL: Stereoscopic 3D Support
2014-11-28 11:45:38 -06:00
Fiora
41f5ef3304
JIT: remove "fast interrupts" option set and then used nowhere
2014-11-28 06:42:40 -08:00
Fiora
3e893913dd
JIT: fix Force25BitPrecision with accurate single precision mode off
...
Doesn't affect anything now, but it's more correct (and should make setting
AccurateSinglePrecision to false work properly now).
2014-11-28 06:39:47 -08:00
Fiora
561e96b080
JIT: clear FIFO write addresses when block cache is cleared
...
Fixes a spurious FIFO write check which caused a flags locking assert in
Splinter Cell: Double Agent.
2014-11-27 17:15:01 -08:00
Rohit Nirmal
84b060d313
Fix building with PCH disabled.
2014-11-26 10:21:04 -06:00
skidau
b806680eac
Merge pull request #1522 from jcowgill/sfml-2.1
...
Update / Port to SFML 2.1
2014-11-26 12:33:03 +11:00
skidau
69bd1562e2
Merge pull request #1561 from comex/10.9
...
Update OS X Requirement to 10.9 + fixes
2014-11-26 12:31:28 +11:00
Fiora
3be31ca2c8
JIT: remove "accurate fcmp" option
...
This doesn't seem to be necessary anymore now that FPRF is implemented in the
JIT. Technically, this isn't the same as before, since the JIT doesn't
implement the fcmp exception semantics, but as far as testing has shown, this
doesn't seem necessary.
This should make games that use FPRF a few percent faster (e.g. F-Zero GX)
since fcmpx no longer has to be fallbacked.
2014-11-25 09:54:40 -08:00