Dentomologist
9cabf20aaa
Fifo: Convert MemoryUpdate::Type to enum class
2023-09-02 18:19:26 -07:00
Admiral H. Curtiss
6d04618921
Merge pull request #12157 from Dentomologist/texturecachebase_add_m_prefix
...
TextureCacheBase: Add m_ prefix to member variables
2023-09-03 03:10:57 +02:00
JMC47
bd57d17dee
Merge pull request #12079 from JosJuice/blr-no-fastmem
...
Jit: Allow BLR optimization without fastmem
2023-09-02 12:45:39 -04:00
JMC47
6beaee078b
Merge pull request #12150 from AdmiralCurtiss/fast-block-cache-fix
...
JitCache: Fix potentially dangling pointer to fast block map.
2023-09-02 12:37:13 -04:00
JosJuice
190e71a318
Android: Use JNI for setting/getting ISO paths
...
This gets rid of the last Android-specific code that directly interfaces
with INI files.
2023-09-02 12:58:20 +02:00
JosJuice
1c47c510cd
Android: Remove all uses of Any from SliderSetting
...
This makes casting unnecessary, preventing the kind of type error we
just had from occurring in the future.
2023-09-02 10:05:42 +02:00
JosJuice
e6138d7683
Android: Fix controller float sliders crashing
...
By not setting a stepSize, stepSize was getting set to the default
value of 0, which is an Int. This later caused a crash when trying to
cast it to Float.
2023-09-02 09:12:42 +02:00
Dentomologist
d5d3eb5025
TextureCacheBase: Add m_ prefix to member variables
2023-09-01 22:52:17 -07:00
Admiral H. Curtiss
f1c1c6ded6
JitCache: Fix potentially dangling pointer to fast block map.
...
Whenever JitBaseBlockCache::Clear() got called, it threw away the memory mapping for the fast block map and created a new one. This new mapping typically got mapped at the same address at the old one, but this is not guaranteed. The pointer to the mapping gets embedded in the generated dispatcher code in Jit64AsmRoutineManager::Generate(), which is only called once on game boot, so if the new mapping ended up at a different address than the old one, the pointer in the ASM pointed at garbage, leading to a crash.
This fixes the issue by guaranteeing that the new mapping is mapped at the same address.
2023-09-02 04:03:22 +02:00
Admiral H. Curtiss
5bd7756064
Common/MemArena: Add LazyMemoryRegion to represent a zero-initialized memory region whose pages are only allocated on first access.
2023-09-02 04:02:10 +02:00
Charles Lombardo
5e5887a378
Merge pull request #12095 from t895/color-space-settings
...
Android: Expose color space settings
2023-08-30 10:07:07 -04:00
JMC47
efa820763a
Merge pull request #12147 from Dentomologist/pagefaulttest_use_gtest_skip
...
PageFaultTest: Use GTEST_SKIP instead of early return
2023-08-29 17:38:31 -04:00
JosJuice
4131dffae9
Jit: Allow BLR optimization without fastmem
...
While both fastmem and the BLR optimization depend on fault handling,
the BLR optimization doesn't depend on fastmem, and there are cases
where you might want the BLR optimization but not fastmem. For me
personally, it's useful when I try to use a debugger on Android and have
to disable fastmem so I don't get SIGSEGVs all the time, but it would be
especially useful for iOS users.
2023-08-29 22:55:29 +02:00
JosJuice
af2c32635a
Jit: Add more error checking to ProtectStack
2023-08-29 22:46:50 +02:00
JMC47
1b2d0c0507
Merge pull request #10575 from JosJuice/jitbase-auto-clear
...
Jit: Automatically clear cache when JIT settings are updated
2023-08-29 15:56:25 -04:00
Dentomologist
75a62e116c
PageFaultTest: Use GTEST_SKIP instead of early return
...
Using GTEST_SKIP instead of just returning from the function shows that
a test was skipped in the test summary. If GTEST_SKIP is called the rest
of the function won't be run, just like with the return.
GTEST_SKIP wasn't available until gtest 1.10, and we updated to 1.12 in
597f8f1b87
.
2023-08-29 12:24:11 -07:00
Admiral H. Curtiss
69db8a615f
Merge pull request #12145 from JosJuice/ubershaderpixel-uint
...
VideoCommon: Fix GLSL uint handling in UberShaderPixel
2023-08-29 12:33:54 +02:00
Charles Lombardo
53fc3446d5
Android: Support settings with float values
...
We did support float settings before but we never showed anything past the decimal place before.
2023-08-29 00:30:03 -04:00
Charles Lombardo
80b329b77f
Android: Expose color correction settings
2023-08-29 00:20:16 -04:00
Admiral H. Curtiss
df120b0630
Merge pull request #12000 from Filoppi/window_res_fix
...
Video: Fix issues with the window presentation
2023-08-28 23:50:50 +02:00
Admiral H. Curtiss
357db03fc8
Merge pull request #12030 from LillyJadeKatrin/retroachievements-bugfix-3
...
RetroAchievements - Fixed Leaderboard Scored message format
2023-08-28 23:28:37 +02:00
Charles Lombardo
153a95482a
Merge pull request #12119 from ThunderousEcho/feature/latching-buttons
...
Added latching buttons (Android)
2023-08-28 15:32:47 -04:00
JosJuice
5b112dbf2c
VideoCommon: Fix GLSL uint handling in UberShaderPixel
2023-08-28 21:17:01 +02:00
Charles Oliner
ee395bb2e5
Added latching buttons
...
Added latching buttons, buttons which turn on when you press them and off when you press them again.
2023-08-27 13:28:53 -04:00
Admiral H. Curtiss
73859ff4c0
Merge pull request #12142 from JosJuice/ir-hotkey-outdated
...
Use latest resolution value for resolution hotkey OSD
2023-08-27 18:38:41 +02:00
JosJuice
58f247290f
Use latest resolution value for resolution hotkey OSD
...
Because CPU thread config changed callbacks are no longer instant,
g_Config.iEFBScale doesn't yet contain the new value when the hotkey OSD
code tries to read it.
Should fix https://bugs.dolphin-emu.org/issues/13343 .
2023-08-27 15:38:00 +02:00
JosJuice
7ac0db70c6
Merge pull request #12086 from krnlyng/jitcompilerPCload
...
JitArm64: Avoid loading compilerPC multiple times if it's already in a register.
2023-08-27 10:05:11 +02:00
iwubcode
f982c556b5
VideoCommon: add additional texture sampler types to ShaderAsset
2023-08-26 12:12:37 -05:00
JosJuice
f9959656e7
Merge pull request #11919 from t895/kotlin-controls
...
Android: Convert "features.input" package to Kotlin
2023-08-26 19:10:56 +02:00
Frajo Haider
7daa19f40d
JitArm64: Avoid loading compilerPC multiple times if it's already in a register.
2023-08-26 18:14:07 +03:00
JosJuice
85281e76ee
Jit: Remove unnecessary member variables
2023-08-26 17:05:04 +02:00
JosJuice
07d70db46b
DolphinQt: Allow toggling most JIT debug settings at any time
...
There's no reason not to allow this now that these settings are
cleanly integrated into the new config system. (Actually, maybe
we could even have done this before the previous commit...)
2023-08-26 17:05:04 +02:00
JosJuice
28e8117b90
Jit: Automatically clear cache when JIT settings are updated
...
This fixes a problem where changing the JIT debug settings on
Android while a game was running wouldn't cause the changed settings
to apply to code blocks that already had been compiled.
2023-08-26 17:04:56 +02:00
JosJuice
cd31da97d6
Merge pull request #11191 from JosJuice/jitarm64-no-checked-entry
...
JitArm64: Never check downcount on block entry
2023-08-26 17:00:08 +02:00
Admiral H. Curtiss
799ce0dc9d
Merge pull request #12097 from Dentomologist/ios_remove_unused_member_variables
...
IOS: Remove unused member variable from SharedContentMap and UIDSys
2023-08-26 16:41:45 +02:00
Admiral H. Curtiss
2502e412b3
Merge pull request #12117 from JosJuice/config-callback-cpu
...
Don't call RunAsCPUThread in config callbacks
2023-08-26 16:34:46 +02:00
Admiral H. Curtiss
d8e35438bd
Merge pull request #12127 from sepalani/ascii_
...
MemoryViewWidget: Fix some characters being truncated
2023-08-26 14:56:26 +02:00
Admiral H. Curtiss
65a9be581f
Merge pull request #12121 from JosJuice/discscrubber-volume-ptr
...
DiscIO: Don't keep volume pointer in DiscScrubber
2023-08-26 14:31:15 +02:00
Admiral H. Curtiss
dec2990053
Merge pull request #12128 from Dentomologist/gcc_suppress_ppcstate_off_warning_spam
...
GCC: Suppress PPCSTATE_OFF invalid-offsetof warnings
2023-08-26 14:22:04 +02:00
Admiral H. Curtiss
e876045e56
Merge pull request #12135 from Dentomologist/jitarm64_resolve_deprecated_enum_conversion_warning
...
JitArm64: Resolve deprecated enum conversion warning
2023-08-26 14:18:58 +02:00
Admiral H. Curtiss
5c4671f573
Merge pull request #12126 from JosJuice/small-vector
...
Move SmallVector to Common
2023-08-26 14:15:18 +02:00
JosJuice
b149ea51cf
Merge pull request #11922 from t895/kotlin-model
...
Android: Convert "model" package to Kotlin
2023-08-25 21:04:34 +02:00
Charles Lombardo
6a19629fc6
Android: Convert TvSettingsItem to Kotlin
2023-08-25 14:54:17 -04:00
Charles Lombardo
ed9467dc1b
Android: Convert HomeScreenChannel to Kotlin
2023-08-25 14:54:17 -04:00
Charles Lombardo
09c2c6541d
Android: Convert GameFileCache to Kotlin
2023-08-25 14:54:17 -04:00
Charles Lombardo
a56ee1a62e
Android: Convert GameFile to Kotlin
2023-08-25 14:54:16 -04:00
Charles Lombardo
0e3b33d901
Android: Convert InputMappingControlSettingViewHolder to Kotlin
2023-08-25 14:20:33 -04:00
Charles Lombardo
6caa4307ac
Android: Convert ProfileViewHolder to Kotlin
2023-08-25 14:20:33 -04:00
Charles Lombardo
29e5c78541
Android: Convert ProfileDialogPresenter to Kotlin
2023-08-25 14:20:33 -04:00
Charles Lombardo
6ad18e4ee5
Android: Convert ProfileAdapter to Kotlin
2023-08-25 14:20:33 -04:00