MerryMage
d60345f15e
Jit_FloatingPoint: Make fp_tri_op a local lambda
2018-10-12 20:46:02 +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
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
MerryMage
826bcad3a5
UnitTets: Add tests for frsqrte
2018-09-28 18:11:30 +01:00
MerryMage
9753f21cc7
Arm64Emitter: Remove unsequenced expressions
...
Incrementing `it` twice between sequence points is undefined behavior.
2018-08-30 07:38:37 +01:00
MerryMage
37419b9a57
Config/Layer: Allow all keys of a section to be iterated over
2017-11-15 18:04:40 +00:00
MerryMage
4c24629b95
Config: Flatten structures
...
Originally, Layer contained a std::map of Sections, which containted a std::map
containing the (key, value) pairs. Here we flattern this structure so that only
one std::map is required, reducing the number of indirections required and
vastly simplifying the code.
2017-11-15 18:04:40 +00:00
MerryMage
f3b52c07d7
CommandLineParser: Use ConfigLocation
2017-11-15 18:04:40 +00:00
MerryMage
e331a76176
ConfigInfo: Switch to doing case-insensitive comparison
2017-11-15 18:04:40 +00:00
MerryMage
ec7b84c5f2
Config: Extract ConfigInfo into own header
2017-11-15 18:04:40 +00:00
MerryMage
c8f970e2b0
Config: Remove recursive layer
2017-11-15 18:04:40 +00:00
MerryMage
2d6047472b
wxWidgets3: Fix compilation due to change in assert macros in macOS 10.13 SDK
2017-10-29 20:23:46 +00:00
MerryMage
31ec3e2501
Config: Missed a line in #5770
2017-08-01 18:07:53 +01:00
MerryMage
11a03e7dd2
SCMRevGen: Use DisableFastUpToDateCheck
2017-06-24 17:34:21 +01:00
MerryMage
f8a99ca192
VertexShaderManager: Rename projection hack variables
2017-06-15 16:38:10 +01:00
MerryMage
44f2420517
GraphicsSettings: PH_ZNear and PH_ZFar are std::strings
2017-06-15 16:38:06 +01:00
MerryMage
a0b41c83e7
VideoConfig: Remove bRunning
...
Value was set but not used.
2017-06-11 15:06:12 +01:00
MerryMage
33879bf611
Config: Remove creation of unnecessary CommandLine layer
2017-06-10 19:07:17 +01:00
MerryMage
12e9ce47f6
VideoConfigDiag: Refresh VideoConfig before opening configuration dialog
...
If the video configuration dialog is opened before a game was run, VideoConfig::Refresh was never called.
2017-06-10 16:40:10 +01:00
MerryMage
b6a99e1b9c
IsSettingSaveable: Allow GFX settings to be saved
2017-06-03 18:13:04 +01:00
MerryMage
f5f45855f0
GameConfigLoader: Add GFX Game INI translations
2017-06-03 18:13:02 +01:00
MerryMage
d75b536fd7
Config: Add GFX ConfigInfo
2017-06-03 18:11:58 +01:00
MerryMage
332747857e
GameConfigLoader: Empty INI to location map
2017-06-03 18:11:57 +01:00
MerryMage
1e766ab490
Config: Add layers CommandLine and CurrentRun
2017-06-03 18:11:57 +01:00
MerryMage
41afe78a44
Config: Integrate
2017-06-03 18:11:57 +01:00
MerryMage
1548a15c68
Config: Implement Get and Set
2017-06-03 18:11:56 +01:00
MerryMage
6151bc1714
Config: Extract layer search order to header
2017-06-03 18:11:56 +01:00
MerryMage
57264022ce
ConfigLoaders: Temporarily not save all settings
2017-06-03 18:11:56 +01:00
MerryMage
b3197d8dce
Config: Extract ConfigLocation
2017-06-03 18:11:56 +01:00
MerryMage
827972b810
Config: Extract ConfigLocation
2017-06-03 18:11:55 +01:00
MerryMage
df2fc3c32f
ConfigManager: Remove load/save code to INI for SYSCONF settings
...
These settings are already loaded and saved to the SYSCONF. The INI
load/saves are redundant and do not work anyway because they are
overwritten by SYSCONF.
2017-05-19 23:57:08 +01:00
MerryMage
c68c6d0f2d
Frame: Remove unused member function OnToggleDualCore
2017-05-13 19:43:49 +01:00
MerryMage
bd3e493695
Section: Fix Section::Get
2017-05-13 15:22:29 +01:00
MerryMage
af33ae0e02
Core: Move ConfigLoaders to a ConfigLoaders filter
2017-05-13 15:22:28 +01:00
MerryMage
dd9e622155
GameConfigLoader: Fix blank keys for variable sections
2017-05-13 15:22:26 +01:00
MerryMage
32d9428171
Config/Layer: Fix accidental cast of RecursiveSection to Section
2017-05-09 00:17:00 +01:00
MerryMage
d4e2529f13
JitArm64: Use CR cache
2017-04-29 09:31:28 +01:00
MerryMage
a9fbf69cad
JitArm64_RegCache: Implement caching of cr_val
2017-04-29 09:31:28 +01:00
MerryMage
8799f6b64f
JitArm64_SystemRegisters: Fix crXXX (set 32nd bit)
2017-04-26 21:51:47 +01:00
MerryMage
e3d0de7442
JitArm64: Implement timer SPRs
2017-04-25 09:20:09 +01:00
MerryMage
c9f50fd4ed
DPL2Decoder: Prefer static_cast to C-style casts
2017-04-23 09:21:30 +01:00
MerryMage
4f884d0b2f
DPL2Decoder: Simplify DotProduct
2017-04-23 09:21:30 +01:00
MerryMage
42a1f7939d
DPL2Decoder: Prefer std::vector to calloc-ed array
2017-04-23 09:21:29 +01:00
MerryMage
71dc810418
DPL2Decoder: Make constant variables const in DesignFIR
2017-04-23 09:18:29 +01:00
MerryMage
751351fd20
DPL2Decoder: Simplify cut-off frequency logic in DesignFIR
2017-04-23 09:18:29 +01:00
MerryMage
24027c1d4a
DPL2Decoder: Reduce scope of variable in DesignFIR
2017-04-23 09:18:29 +01:00
MerryMage
d0e75bb438
DPL2Decoder: Remove unnecessary pointer arguments of DesignFIR
2017-04-23 09:18:28 +01:00
MerryMage
bd4cfaaed7
Jit_Integer: Use constant pool in GenerateOverflow
2017-04-22 10:15:04 +01:00
MerryMage
73cdf9ecb5
ArmCPUDetect: Add missing include
...
<cstring> is required for strncpy
2017-04-21 11:03:40 +01:00
MerryMage
ee7e6edf31
Android: Add audio stretch setting
2017-04-18 18:42:02 +01:00
MerryMage
cb900106c6
IR_X86: Prefer static_cast to C-style casts
2017-04-15 10:35:40 +01:00
MerryMage
860ac52a79
IR_X86: Use PtrOffset instead of casting pointers
2017-04-15 10:35:24 +01:00
MerryMage
6d8738e6e4
IR_X86: Simplify trinary expressions
2017-04-15 10:35:01 +01:00
MerryMage
03d07c36ae
JitArm64: Reserve W30 in SafeStoreFromReg and stfXX
...
Bug introduced in c45028a708 .
EmitBackpatchRoutine assumes that X30 is available as a temporary.
2017-04-15 08:23:14 +01:00
MerryMage
3fb886141d
JitArm64_LoadStore: Fix bug in writing byte to gather pipe
...
Introduced by c45028a708 .
2017-04-15 07:26:27 +01:00
MerryMage
b792299ef1
Jit_LoadStore: Fix dbat memory access
...
Was broken by e10b715666
2017-04-14 14:06:13 +01:00
MerryMage
daa03cd106
EmuCodeBlock: Make CheckIfSafeAddress PIE-compliant
2017-04-14 12:39:12 +01:00
MerryMage
e10b715666
Jit_LoadStore: Make dcbz PIE-compliant
2017-04-14 12:33:25 +01:00
MerryMage
cac77527e9
Jit64: Make psq_lXX PIE-compliant
2017-04-14 11:52:33 +01:00
MerryMage
c45028a708
GPFifo: Use a pointer instead of an index
...
This simplifies code generated by the jits.
x86_64 jit now emits PIC.
2017-04-14 10:37:47 +01:00
MerryMage
f2e323de9c
ConfigManager: Increase default latency for OpenAL backend to 5
2017-04-13 10:41:18 +01:00
MerryMage
265f0da256
Jit_LoadStorePaired: Make psq_st PIE-compliant
2017-04-12 19:30:42 +01:00
MerryMage
cbaa00457a
Mixer: Tweak audio stretch parameters
2017-04-12 17:56:58 +01:00
MerryMage
9397fdfe95
Mixer: Use a temporary buffer when stretching audio
2017-04-12 14:58:20 +01:00
MerryMage
f5018010d3
Mixer: Calculate actual_samples based on availability in all FIFOs
2017-04-12 14:58:19 +01:00
MerryMage
ac0df5b2db
Mixer: Disable frequency shifting when stretching is enabled
2017-04-12 13:56:29 +01:00
MerryMage
71e748b68f
AudioConfigPane: Allow user-configuration of audio stretching
2017-04-12 13:56:29 +01:00
MerryMage
26514358f4
Add audio stretching as a configuration option
2017-04-12 13:56:29 +01:00
MerryMage
b8c867dd7a
Mixer: Implement audio stretching
2017-04-12 13:56:28 +01:00
MerryMage
5b81f2a31d
Mixer: Return actual number of samples mixed into buffer from MixerFifo::Mix
...
No code in the codebase currently depends on the return value of this function.
2017-04-12 13:15:00 +01:00
MerryMage
8ff26a6eda
soundtouch: Use shorts instead of floats for samples
2017-04-12 13:15:00 +01:00
MerryMage
6a4945090c
OpenALStream: Remove audio stretching
2017-04-12 13:15:00 +01:00
MerryMage
a95010bc72
x64Emitter: Allow code alignment to arbitrary power of 2
2017-04-12 08:41:51 +01:00
MerryMage
6df8343e72
MathUtil: References can be const
2017-04-12 06:15:18 +01:00
MerryMage
f7ed979e30
Jit64AsmCommon: Make frsqrte and fres PIE-compliant
2017-04-11 20:25:18 +01:00
MerryMage
433999d60f
ConstantPool: Return a pointer instead of an OpArg
...
This allows for greater flexibility.
2017-04-11 20:25:18 +01:00
MerryMage
4537969822
Frame: Use kIOPMAssertionTypePreventUserIdleDisplaySleep to inhibit screensaver on macOS
2017-04-09 22:14:35 +01:00
MerryMage
c9b2c29ead
Frame: Extract screensaver-related code into InhibitScreensaver/UninhibitScreensaver
2017-04-09 22:14:35 +01:00
MerryMage
cd2d0897d6
GameIni: DSP LLE no longer required for Star Wars: Rogue Squadron
...
Affects:
* Star Wars: Rogue Leader
* Star Wars: Rebel Strike
2017-04-08 16:04:09 +01:00
MerryMage
8ad6f2cecc
AX: Add support for UCodes without LPF
2017-04-08 16:04:09 +01:00
MerryMage
8f8e7681b2
AX: Implement loop counter
...
Required for Rogue Squadron.
2017-04-07 20:54:34 +01:00
MerryMage
a793b4d06f
Frame: Fix macOS keyboard while emulation is running
2017-04-07 19:44:04 +01:00
MerryMage
19eb09b086
Jit_SystemRegisters: Make mfspr PIE-compliant
2017-04-05 10:22:48 +01:00
MerryMage
38917a151d
CoreTiming: Pull globals into a single struct
2017-04-05 10:22:48 +01:00
MerryMage
61198199cd
JitAsm: Use stored_stack_pointer instead of s_saved_rsp
2017-03-24 11:31:40 +00:00
MerryMage
918d7fa3d1
EmuCodeBlock: Place ConvertDoubleToSingle temporaries on the stack
2017-03-24 10:59:55 +00:00
MerryMage
cb7d9556bf
Jit64: Merge memory allocations into a single allocation
...
Instead of each component allocating their own memory, we instead allocate
the memory once and divvy that up among the components as required. This
ensures that relative memory offsets remain within architecture limits.
2017-03-21 20:16:12 +00:00
MerryMage
da434e1a1c
ConstantPool: Externalize memory allocation
2017-03-21 20:16:12 +00:00
MerryMage
615fcc621d
CodeBlock: Add support for multiple children
2017-03-21 20:16:12 +00:00
MerryMage
8a788ebdd9
JitAsm: Add missing forward declaration of X64CodeBlock
2017-03-21 16:56:43 +00:00
MerryMage
4491e9b829
Jit_SystemRegisters: Add missing sizes to constant arrays
2017-03-20 20:21:43 +00:00
MerryMage
9058ccea3f
IR_X86: Use MConst for constants
2017-03-20 20:21:43 +00:00