MerryMage
93ec976975
Jit_SystemRegisters: Correct behaviour for mtspr SPR_HID0 (Redux)
...
* BTR modifies its argument.
* Do not fallthrough.
2018-10-13 19:20:08 +01:00
Pierre Bourdon
2508f6c621
Revert "Jit_SystemRegisters: Correct behaviour for mtspr SPR_HID0"
2018-10-13 20:04:30 +02:00
Pierre Bourdon
2bdee9b80b
Merge pull request #7455 from spycrab/qt_tags
...
Qt/GameList: Implement tag system
2018-10-13 19:58:32 +02:00
MerryMage
e7a65c31a8
Jit_SystemRegisters: Correct behaviour for mtspr SPR_HID0
...
BTR modifies its argument
2018-10-13 15:59:40 +01:00
MerryMage
d60345f15e
Jit_FloatingPoint: Make fp_tri_op a local lambda
2018-10-12 20:46:02 +01:00
Mat M
ecd4897d43
Merge pull request #7437 from stenzek/graphics-options-race
...
Fix race condition caused by opening graphics options while running
2018-10-12 10:29:28 -04:00
Mat M
b3cd6158fc
Merge pull request #7471 from JosJuice/country-region-switch
...
DiscIO: Improve RegionSwitch/CountrySwitch
2018-10-12 10:25:45 -04:00
JosJuice
f834ef1dfe
DiscIO: Rename RegionSwitch/CountrySwitch
...
Callers don't need to know that these functions are implemented
with a switch statement.
2018-10-12 12:32:22 +02:00
Tillmann Karras
db54b903ef
Zero-initialize CPU state and register view
2018-10-10 00:04:02 +01:00
Tillmann Karras
dfe8305ae7
PowerPC: fix a cast warning
2018-10-10 00:03:54 +01:00
JosJuice
57d05293fd
DiscIO: Move the Korean GC mess out of VolumeGC
2018-10-08 13:56:13 +02:00
Tillmann Karras
9c7136453d
FifoPlayer: reduce XF_REGS_SIZE to what we know
...
This avoids out-of-bounds warnings when replaying FIFO captures.
The value of XF_REGS_SIZE is written into the DFF header and we only
read the min of XF_REGS_SIZE and the header value, so this change is
backward compatible and doesn't break forward compatibility for old
Dolphin versions either.
2018-10-08 06:54:32 +01:00
MerryMage
8e3846d844
Jit_LoadStore: Name indexed condition
...
inst.OPCD == 31 represents an indexed instruction
2018-10-07 20:29:47 +01:00
MerryMage
d448ed3308
JitRegCache: Fix SanityCheck
2018-10-07 11:48:06 +01:00
MerryMage
d5999bc0df
JitRegCache: Rename CachedReg function names
...
* BoundTo -> SetBoundTo
* Flushed -> SetFlushed
* Remove argument from MakeDirty
2018-10-07 11:48:06 +01:00
MerryMage
29d301e303
JitRegCache: Use preg_t for PPC register indexes
2018-10-07 11:48:06 +01:00
MerryMage
d9e2b3ed98
JitRegCache: Make {Store,Load}Register protected
...
No reason for them to be public
2018-10-07 11:48:06 +01:00
MerryMage
66c3d1e183
JitRegCache: Remove FlushR
...
No external users.
2018-10-07 11:48:05 +01:00
MerryMage
ba33e1e69b
JitRegCache: Simplify ASSERTs
2018-10-07 11:48:05 +01:00
MerryMage
ff0a6b8331
JitRegCache: Encapsulate behavior of X64CachedReg
2018-10-06 19:27:56 +01:00
MerryMage
dd41bab365
JitRegCache: Encapsulate behavior of PPCCachedReg
2018-10-06 19:27:56 +01:00
Tilka
b480db9392
Merge pull request #7419 from Sintendo/miscopts
...
Miscellaneous x64 micro-optimizations
2018-10-05 23:44:25 +01:00
JosJuice
08d0b98988
DiscIO: Merge RegionSwitchGC and RegionSwitchWii
2018-10-05 17:54:29 +02:00
spycrab
6e873c6e06
Qt/GameList: Implement tag system
2018-10-05 08:22:51 +02:00
Shawn Hoffman
2a0f022da3
mx sram: replace union-with-byte-array with operator[] to make gcc happy.
2018-10-01 00:00:20 -07:00
Shawn Hoffman
d300f3bbbc
exi ipl: quiet a gcc warning
2018-09-30 18:22:35 -07:00
Shawn Hoffman
2cd96aa5bb
mx sram: fix checksum calc; use Common::BigEndianValue for rtc field.
2018-09-30 17:58:37 -07:00
Shawn Hoffman
d594d4f12f
Fix sram accesses.
2018-09-29 22:52:29 -07:00
Sintendo
ef94fca504
DSPJit: various micro-optimizations
2018-09-29 09:52:30 +02:00
Sintendo
e3b424facd
EmuCodeBlock: remove redundant instructions
...
Their result is overwritten by a subsequent MOV.
2018-09-28 23:58:16 +02:00
MerryMage
89a0b0de32
Jit64AsmCommon: Reduce branches in fast-path and inline most behavior
...
The only behavior requires a function call is denormal behaviour. We also fix fpscr exception raising.
2018-09-28 18:11:30 +01:00
Stenzek
eb33d7af64
Core: Call InitBackendInfo before loading config
2018-09-28 21:44:41 +10:00
Stenzek
a877d5f6dc
Remove unused Host_ShowVideoConfig
2018-09-28 14:05:53 +10:00
Mat M
3cee297c87
Merge pull request #7331 from booto/si_buffer
...
SI: Add 16bit accessors for SI IO buffer
2018-09-27 21:50:50 -04:00
Léo Lam
e90bd035cb
Merge pull request #7262 from lioncash/force
...
ControlGroup: Return state data via GetState() by value where applicable
2018-09-16 16:04:21 +02:00
Léo Lam
40b7fab235
Merge pull request #7261 from lioncash/static
...
WiimoteReal: Make functions internally linked where applicable
2018-09-16 15:30:25 +02:00
Léo Lam
80c402e1ad
Merge pull request #7161 from lioncash/disasm
...
CMake: Only link in Bochs on x86 platforms
2018-09-16 15:16:00 +02:00
Léo Lam
3a16c0d47e
Merge pull request #7401 from JosJuice/translation-fixes
...
Translation fixes
2018-09-16 15:09:26 +02:00
JosJuice
b5bb445f21
Include the Korean Wii Shop Channel when checking default credentials
2018-09-15 17:28:23 +02:00
booto
3825e2e5ff
SI: Add 16bit accessors for SI IO buffer
...
Dolphin has traditionally treated the SI IO buffer (128 bytes) as a set of
32 little endian u32s. This works out fine if you only ever read/write
using aligned 32bit accesses. Different sized accesses or misaligned reads
will mess it up. Byte swapping reads/writes will fix this up, but all the
SI devices that use the SI IO buffer need to be adjusted.
2018-09-11 22:19:13 -04:00
JosJuice
fb6b31bba8
Re-add i18n comments that were lost in the DolphinWX removal
2018-09-08 15:58:15 +02:00
JosJuice
e0cb56edb9
Reword some translatable strings
...
We've decided to use the term "Usage Statistics Reporting"
instead of "Analytics" in user-facing strings.
2018-09-08 15:19:01 +02:00
JosJuice
762747f8c1
Merge pull request #7377 from Techjar/more-frameskip-junk
...
Core/Core: Remove another leftover part of frameskip
2018-08-28 08:29:43 +02:00
Techjar
c5ae721eca
Core/Core: Remove another leftover part of frameskip
2018-08-28 02:22:05 -04:00
Lioncash
d10a0b440f
SFMLHelper: Simplify 64-bit packet reading function and remove 64-bit write function
...
Now that SFML's packet class can properly handle 64-bit values, we don't
need a helper function just to write values to the packets.
2018-08-27 17:38:07 -04:00
Pierre Bourdon
4c75331d5d
Merge pull request #7374 from lioncash/iowin
...
IOWin: Make functions internally linked where applicable
2018-08-27 22:13:24 +02:00
Lioncash
8753321841
IOWin: Use anonymous namespaces where applicable
...
Several functions (and one variable) were being given external linkage.
Instead, relocate them all to anonymous namespaces to make them
internally linked.
2018-08-27 16:10:07 -04:00
Lioncash
d40022d6d0
JitInterface: Move explanatory comment of ClearSafe() to the function's prototype
...
Puts the comment in the header where it's more likely to be seen
initially. We can also remove the TODO, given doing nothing or returning
an error is what is generally done for the JIT interface if the JIT
instance isn't valid.
2018-08-27 13:04:05 -04:00
Lioncash
36b24bf7a0
PowerPC: Remove Profiler.cpp
...
With 7aa305ea35 merged, all that remains
within Profiler.cpp is an unused function that just forwards to the
equivalent function within JitInterface. Given that, we can just remove
the source file.
2018-08-27 12:13:39 -04:00
Lioncash
7aa305ea35
Profiler: Migrate global g_ProfileBlocks boolean to JitOptions
...
This global belongs in the JitOptions structure, as it's a conditional
setting (A.K.A. option) that changes the behavior of what the JIT does.
Plus it keeps the scope of the variable constrained to the general area
it's intended to be used and nothing further.
2018-08-27 11:30:19 -04:00