Tillmann Karras
56fdcf5f00
VideoCommon: remove unnecessary floor()
...
floatindex is clamped to the range [0, 9]. For non-negative numbers
floor() is equivalent to trunc(). Truncation happens implicitly when
converting to uint, so the floor() is unnecessary.
2018-10-09 00:31:43 +01:00
Tilka
31594a8138
Merge pull request #7462 from aldelaro5/fix-signature-export
...
Qt/debugger: Accept empty prefix input
2018-10-09 00:30:19 +01:00
Tilka
7551e3d4cd
Merge pull request #7461 from Tilka/evdev
...
evdev: simplify code
2018-10-09 00:26:13 +01:00
Tillmann Karras
79051a28c4
evdev: simplify code
...
No need to check write access if we call open() right after which checks
that anyway. Also only get the device name once.
2018-10-08 19:51:29 +01:00
JosJuice
cab5e52d15
DiscIO: Fix the 'W', 'X', 'Y' and 'Z' country codes
...
These country codes have the unfortunate property that they are used
by Wii disc games in two different regions. We already correct for this
in VolumeGC::GetCountry and VolumeWii::GetCountry, so this commit
shouldn't really have any effect on how the game list behaves,
but it will be useful if we in the future would want to call
CountrySwitch directly without having extra code in the caller for
handling region weirdness.
2018-10-08 13:57:31 +02:00
JosJuice
504024ab46
DiscIO: Add the missing 'V' country code
2018-10-08 13:57:31 +02: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
Tilka
feaa466edc
Merge pull request #7469 from Tilka/mtfsf
...
GekkoDisassembler: fix mtfsf yet again
2018-10-08 02:52:18 +01:00
Tillmann Karras
b37886580b
GekkoDisassembler: fix mtfsf yet again
2018-10-08 02:43:34 +01:00
Tilka
8293cd068f
Merge pull request #7468 from Tilka/fifo_regs
...
FIFOAnalyzer: improve printing of XF/BP registers
2018-10-08 02:19:10 +01:00
Tillmann Karras
09385b9542
FIFOAnalyzer: print BP registers without X suffix
2018-10-08 02:00:25 +01:00
Tillmann Karras
ec4c019a7b
FIFOAnalyzer: fix printing of XF registers
2018-10-08 02:00:25 +01:00
Mat M
74fd95c4c4
Merge pull request #7465 from Tilka/mtfsf_disasm
...
GekkoDisassembler: fix disassembly of mtfsf
2018-10-07 20:53:55 -04:00
Tilka
63dcd33e9c
Merge pull request #7467 from MerryMage/lXXx
...
Jit_LoadStore: Name indexed condition
2018-10-07 20:35:05 +01:00
MerryMage
8e3846d844
Jit_LoadStore: Name indexed condition
...
inst.OPCD == 31 represents an indexed instruction
2018-10-07 20:29:47 +01:00
Jules Blok
1ab1d41b10
Merge pull request #7457 from Tilka/use_clamp
...
VideoSoftware: make use of Clamp()
2018-10-07 19:53:45 +01:00
Jules Blok
0bef9fa41c
Merge pull request #7464 from Tilka/bp_warn
...
BPStructs: don't warn about busclock/perf regs
2018-10-07 19:52:49 +01:00
zackhow
e52be87bf1
Android: Require user to enable savestate menus
...
With the nature of android updates invalidating save states, it's best to hide
these options unless enabled by the user. The option to use savestates can now
be enabled via the General settings menu.
2018-10-07 12:57:27 -04:00
Tillmann Karras
29c271d0eb
GekkoDisassembler: fix disassembly of mtfsf
...
This fixes https://dolp.in/i11411 .
2018-10-07 17:27:02 +01:00
Tillmann Karras
c53cd09b00
BPStructs: don't warn about busclock/perf regs
2018-10-07 16:08:18 +01:00
Tilka
daed09f7f0
Merge pull request #7394 from mazes-80/11026
...
IOWindow: append new text at the end by default
2018-10-07 12:36:38 +01:00
mazes-80
eae36399dc
IOWindow: append new text at the end by default
...
This fixes https://dolp.in/i11026 .
2018-10-07 12:27:05 +01:00
Tilka
e630218587
Merge pull request #7460 from MerryMage/regcache-old
...
JitRegCache: Cleanup
2018-10-07 11:52:57 +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
aldelaro5
4b75876ba1
Qt/debugger: Accept empty prefix input
2018-10-06 21:22:34 -04: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
406159f7f0
Merge pull request #7459 from stenzek/objc-clang-format
...
clang-format: Split C++/ObjC sections
2018-10-06 09:59:25 +01:00
Stenzek
06476594bf
clang-format: Split C++/ObjC sections
...
Fixes the lint error that an objective-C section is missing from the config when a .mm file is modified.
2018-10-06 11:30:45 +10:00
Anthony
7e741f7a7d
Merge pull request #7458 from booto/remove_java_lint_log
...
lint: remove superfluous logging
2018-10-05 17:02:39 -07:00
booto
712f44edd9
lint: remove superfluous logging
...
Make lint script be silent unless there's a problem. This line doesn't
work anyway, trying to redirect to fd 0.
2018-10-05 19:35:46 -04:00
Tilka
af2f212039
Merge pull request #7348 from spycrab/gl_cache_shaders
...
GL/TextureCache: Clean up inline shader code
2018-10-06 00:28:54 +01:00
Tilka
32ef8706e5
Merge pull request #7414 from Sintendo/shortmovs
...
x64Emitter: emit shorter MOVs for 64-bit immediates
2018-10-06 00:01:35 +01:00
Tilka
b480db9392
Merge pull request #7419 from Sintendo/miscopts
...
Miscellaneous x64 micro-optimizations
2018-10-05 23:44:25 +01:00
Tilka
781b707af8
Merge pull request #7444 from amaiorano/fix-messagebox-icons
...
Fix QMessageBox icons using the default rather than the Dolphin logo
2018-10-05 23:34:40 +01:00
Tillmann Karras
a6a5d86cd8
VideoSoftware: make use of Clamp()
2018-10-05 22:07:38 +01:00
JosJuice
08d0b98988
DiscIO: Merge RegionSwitchGC and RegionSwitchWii
2018-10-05 17:54:29 +02:00
JosJuice
683eef3044
Merge pull request #7413 from zackhow/launcher-crash
...
Android: Run Directory Initialization as a thread instead of service
2018-10-05 15:45:36 +02:00
spycrab
6e873c6e06
Qt/GameList: Implement tag system
2018-10-05 08:22:51 +02:00
Stenzek
4ebf3f3189
Merge pull request #7453 from amaiorano/improve-progress-dialog
...
Make the progress dialog look better (used for e.g. shader compiling)
2018-10-05 14:39:45 +10:00
Antonio Maiorano
bf18f19b0a
Make the progress dialog look better (used for e.g. shader compiling)
...
* Removed the Cancel button since the code doesn't react to it anyway.
* Only show a window title, not the help icon (?), and disable the close button
* Set the title to "Dolphin" instead of repeating the label text
2018-10-03 21:35:10 -04:00
Antonio Maiorano
f257630c0a
Fix resetting emulated wii remote settings to default not updating Extension combo box
2018-10-02 23:34:32 -04:00
Anthony
d741c239d2
Merge pull request #7447 from JosJuice/guitar-bue
...
Android: Fix blue guitar fret for emulated Wii Remotes
2018-10-02 14:07:10 -07:00
JosJuice
cf1578c89d
Android: Fix blue guitar fret for emulated Wii Remotes
2018-10-02 23:02:46 +02:00