Commit Graph

41022 Commits

Author SHA1 Message Date
d272b0ef84 Merge pull request #12183 from t895/gradle-kotlin-dsl
Android: Gradle updates
2023-12-10 11:17:56 -05:00
Mai
e2472e4f50 Merge pull request #12352 from JosJuice/jitarm64-flush-in-long-inst
JitArm64: Flush in the middle of lmw/stmw/mfcr
2023-12-10 09:15:07 -05:00
Mai
f249e414ad Merge pull request #12366 from AdmiralCurtiss/exi-ipl-fixes
HW/CEXIIPL: Various fixes.
2023-12-10 09:12:18 -05:00
Mai
c23febe947 Merge pull request #12368 from AdmiralCurtiss/enet-submodule
Externals/enet: Convert to submodule.
2023-12-10 09:08:10 -05:00
Mai
fb0934de71 Merge pull request #11289 from AdmiralCurtiss/mmu-msi-ir
MMU: Use MSR.IR for Host instruction reads.
2023-12-10 09:06:05 -05:00
a0da6788a3 MMU: Use MSR.IR for instruction reads. 2023-12-10 14:18:25 +01:00
c12725c916 MMU: Assert that the given XCheckTLBFlag is valid for the operation. 2023-12-10 14:18:25 +01:00
0d6a0724fd MMU: Always use data read for the PTE lookup in TranslatePageAddress. 2023-12-10 14:18:24 +01:00
5d2fc0147e MMU: Mark IsOpcodeFlag() and IsNoExceptionFlag() as constexpr. 2023-12-10 14:18:24 +01:00
8194b53166 HW/CEXIIPL: Check for errors when reading font. 2023-12-10 14:17:38 +01:00
57e166dbef HW/CEXIIPL: Consider that the loaded file may not actually contain a nullterminated string. 2023-12-10 14:17:37 +01:00
7d53916466 HW/CEXIIPL: Respect bounds in LoadFileToIPL(). 2023-12-10 14:17:37 +01:00
72dcd8442c Externals/enet: Convert to submodule.
This also updates enet to 2a85cd6445
2023-12-10 14:17:20 +01:00
f284bfca45 Merge pull request #12336 from AdmiralCurtiss/lazymemory-ringbuffer
Common/MemArenaWin: Rewrite LazyMemoryRegion by repeatedly mapping the same block of memory for unwritten regions.
2023-12-10 13:00:09 +01:00
ccedeb4936 Merge pull request #12373 from lioncash/present
VideoCommon/Present: Remove use of g_presenter inside Presenter class
2023-12-10 03:55:30 +01:00
0df7908025 VideoCommon/Present: Remove use of g_presenter inside Presenter class
There's no need to self reference a global of the class itself when we
can just call the function directly.
2023-12-09 20:15:32 -05:00
93a5df3b92 android: Compile and target Android 14 2023-12-09 15:44:29 -05:00
5d2e3de576 android Update dependencies 2023-12-09 15:44:29 -05:00
c5d81c1006 android: Regenerate baseline profile module for AGP 8.2.0 2023-12-09 15:44:29 -05:00
7d4db6603b android: Update AGP to 8.2.0
Also updates gradle to 8.2 as that is the minimum required version for AGP 8.2.0
2023-12-09 15:44:29 -05:00
Mai
bec4c77325 Merge pull request #12367 from AdmiralCurtiss/mail-includes
IOS/KD/Mail: Add missing includes.
2023-12-09 15:25:24 -05:00
3364d571cc Common/MemArenaWin: Rewrite LazyMemoryRegion to manually map memory blocks into the large memory region as needed.
Internal details: The large region is split into individual same-sized blocks of memory. On creation, we allocate a single block of memory that will always remain zero, and map that into the entire memory region. Then, the first time any of these blocks is written to, we swap the mapped zero block out with a newly allocated block of memory. On clear, we swap back to the zero block and deallocate the data blocks. That way we only actually allocate one zero block as well as a handful of real data blocks where the JitCache actually writes to.
2023-12-09 21:11:31 +01:00
eb235d6ee3 Common/MemArenaWin: Move the advanced Windows memory function address initialization into its own struct and function so it can be reused. 2023-12-09 20:58:07 +01:00
001089dbf4 android: Convert gradle files to kotlin gradle dsl 2023-12-09 14:57:09 -05:00
57b33e9142 android: Remove benchmark module 2023-12-09 14:57:09 -05:00
78d22d8003 Merge pull request #12343 from Tilka/cmake
CMake: update required enet version
2023-12-09 18:25:38 +01:00
6197902dc3 IOS/KD/Mail: Add missing includes. 2023-12-09 17:07:03 +01:00
Mai
dd227fea5a Merge pull request #12364 from JosJuice/android-emulation-settings-reload
Android: Fix crash after process recreation
2023-12-08 21:24:05 -05:00
Mai
636b892b7c Merge pull request #12360 from TryTwo/bugfix_wiimote_signal_spam
WiimoteDevice. Bugfix. Remove signal spam while starting a game.
2023-12-08 21:07:51 -05:00
515bd10108 Merge pull request #12365 from timetravelthree/master
Fix out of bound write in EfbCopy::ClearEfb
2023-12-09 02:26:15 +01:00
3b8737d2d7 Fix out of bound write in EfbCopy::ClearEfb 2023-12-09 02:15:42 +01:00
a4eff2acc1 Android: Don't call Run before directory initialization
Combined with the previous commits, this finally fixes the bug where
Dolphin had a chance of crashing if you returned to it after Android
killed the Dolphin process.
2023-12-08 19:36:11 +01:00
a31214b8c6 Android: Fix EmulationActivity's handling of process recreation 2023-12-08 19:31:12 +01:00
5aa80603d7 Android: Reload EmulationActivity settings on title change
This way, we ensure that game INI settings are properly applied. I don't
think we actually expose the affected settings on a per-game basis in
the UI, but still.
2023-12-08 17:57:30 +01:00
11041e950d Android: Combine reading cutout setting with updateOrientation 2023-12-08 17:56:29 +01:00
7eb02ecfa4 Merge pull request #12361 from LillyJadeKatrin/retroachievements-bugfix
Bugfix - small square in bottom right corner
2023-12-08 07:00:21 +01:00
e992225b88 Bugfix - small square in bottom right corner
Fixed a bug in OSUI created by the challenge icons that caused a small rectangle to appear in the bottom right corner of the screen.
2023-12-08 00:33:29 -05:00
Mai
e0f4111561 Merge pull request #11663 from JosJuice/android-config-change-callback
Android: Use config changed callback for tracking recursive scan setting
2023-12-07 16:48:02 -05:00
Mai
3a4cf579ff Merge pull request #12247 from LillyJadeKatrin/retroachievements-challenges
RetroAchievements - Challenge Icons
2023-12-07 16:46:43 -05:00
caa729f84a Display Active Challenges On Screen
The active challenges, aka the primed achievements, are displayed on screen as a series of icons in the bottom right corner of the screen via OnScreenUI.
2023-12-07 16:02:15 -05:00
4203632c93 Android: Improve GameFileCacheManager comments 2023-12-07 21:09:17 +01:00
3e7a16f225 Android: Use config changed callback for tracking recursive scan setting
This way the Settings class doesn't contain a hardcoded reference to
a specific setting. And Settings.loadSettings no longer calls
getBoolean, which is a step towards fixing the crash when recreating
EmulationActivity after process death.
2023-12-07 21:09:17 +01:00
d80f9d53fc Android: Expose config changed callbacks 2023-12-07 21:09:17 +01:00
6bd9488e0a WiimoteDevice. bugfix. Remove signal spam while starting a game.
Emulation state changed signals also update the wiimote connection. The signal here is only needed for wiimote connects/disconnects.

Can fix erroneous debugger behavior during booting, as dolphin will sometimes incorrectly report the state as paused, which leads the debugger widgets to run when they shouldn't.
2023-12-07 12:15:57 -07:00
Mai
2ece642cf8 Merge pull request #12357 from AdmiralCurtiss/ipl-bounds
Core/Boot: Check bounds in Load_BS2().
2023-12-06 19:57:26 -05:00
8fbc5960e7 Handle Achievement Un/Primed Events
When an achievement is "primed", a challenge is active, for example completing a portion of the game in under a time limit or without taking damage or using certain items. This is stored in a map in the Achievement Manager (and removed when the achievement is unprimed) so a later commit can display it on screen.
2023-12-06 08:21:06 -05:00
Mai
b4276049fc Merge pull request #12216 from LillyJadeKatrin/retroachievements-rehash
RetroAchievements - Improved Game Loading
2023-12-05 18:22:38 -05:00
fff538e563 Core/Boot: Check bounds in Load_BS2(). 2023-12-05 22:34:35 +01:00
2bf6ebcb90 Added achievement hash to non-disc boot paths. 2023-12-05 16:17:18 -05:00
ebf2ef1d82 Refactored hash process to check prior game ID
If the new game ID is a different title than the previous game ID, the achievement manager is compromised.
2023-12-05 16:17:18 -05:00