1
0
forked from MeloNX/MeloNX

3460 Commits

Author SHA1 Message Date
Gabriel A
b6a85592cc Fix potential race + wrong check for partition not being found 2024-01-04 20:48:53 -03:00
riperiperi
17fdbb57c0 Merge remote-tracking branch 'gdk/new-jit-ht' into ios-ht 2024-01-04 21:35:33 +00:00
Gabriel A
8efd17d371 Only for 64-bit games (for now?) 2024-01-04 18:22:06 -03:00
Gabriel A
48e4bdb1ce Host tracked needs signal handling too 2024-01-04 18:04:51 -03:00
Gabriel A
237343ace4 Support host tracked on LightningJit 2024-01-04 18:00:59 -03:00
Gabriel A
ac60e0c8a7 Pass memory manager type around 2024-01-04 18:00:49 -03:00
Gabriel A
228cbfc4fd Merge branch 'host-tracked-clean' into new-jit-ht 2024-01-04 18:00:35 -03:00
Gabriel A
2caf8f850b Format whitespace 2024-01-04 18:00:31 -03:00
Gabriel A
a72eb91cfa Fix assert 2024-01-04 18:00:31 -03:00
Gabriel A
21a6f53782 Remove unused using 2024-01-04 18:00:31 -03:00
Gabriel A
2cb244ddbe New JIT cache for platforms that enforce W^X, currently unused 2024-01-04 18:00:31 -03:00
Gabriel A
41fb24ef78 ObjectDisposedException.ThrowIf 2024-01-04 18:00:31 -03:00
Gabriel A
0eecf142de Fix more warnings 2024-01-04 18:00:30 -03:00
Gabriel A
e4a81e78f6 More read-only 2024-01-04 18:00:30 -03:00
Gabriel A
2bc171cab7 Make a lot of Assembler members read-only 2024-01-04 18:00:30 -03:00
Gabriel A
6a3e0e9f45 Auto-format 2024-01-04 18:00:30 -03:00
Gabriel A
0a30ad420a Implement a new JIT for Arm devices 2024-01-04 18:00:30 -03:00
Gabriel A
2f95591fa6 Add host tracked memory manager mode (experimental) 2024-01-04 17:07:04 -03:00
gdkchan
647fc25d63 Fix PPTC version string for firmware titles (#6071) 2024-01-04 00:08:10 +01:00
gdkchan
16e23988d1 Add support for PermissionLocked attribute added on firmware 17.0.0 (#6072)
* Update MemoryState enum and add new flags

* Add support for new PermissionLocked attribute added on firmware 17.0.0

* Format whitespace
2024-01-04 00:05:14 +01:00
riperiperi
a26ada036c bunch of stuff don't push this monstrosity anywhere
actual stuff don't push this monstrosity anywhere
2023-12-31 19:11:24 +00:00
Emmanuel Hansen
24772d6e70 update rd 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
b3fbf8ea26 use compiled binding for controller view 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
f20add3139 update rd file and reenable json reflection serialization 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
df2274391f clean up rd file 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
db2019d64b set invariant globalization to false, fix profile selector 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
85d879c37a add aot optmization option 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
550b9dc854 disable macrojit 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
a9a8b1403e use avalonia bitmap to load image for loading screen 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
6b5c342534 wip 2023-12-31 19:07:37 +00:00
Emmanuel Hansen
c3179f6a61 simplify assembly access in application library class 2023-12-31 19:07:37 +00:00
Emmanuel Hansen
5941bcbf80 add rd file 2023-12-31 19:07:35 +00:00
Emmanuel Hansen
784438999c make applet manager reflection free 2023-12-31 19:00:41 +00:00
gdk
eb4af14d51 Make GetFunctionPointerForDelegate as explicit as possible 2023-12-31 19:00:41 +00:00
Emmanuel Hansen
aa7c6f160e remove usage of reflection in device state 2023-12-31 19:00:39 +00:00
Emmanuel Hansen
10db751297 add hle service generator 2023-12-31 18:59:42 +00:00
AxesP
0336a6f20d Local Amiibo.json should be used if connection failed (#3681)
* Local Amiibo.json should be used if connection failed

Currently Ryujinx is not loading any Amiibo if connection fails, even if the Amiibo.json exists.
This fix will use the local file and show a Dialog if connection fails.

* using local Amiibo.json & fixed Amiibo.json date comparison

Using local Amiibo.json when connection fails and comparison without milliseconds for LastModified that comes from https://amiibo.ryujinx.org/ and the local one (The JSON file has milliseconds on it, those will cause an error when comparing the date from the header because the header one doesn't has milliseconds on it). Both changes made for Avalonia UI.

* Fixed date comparison

Same date comparison fix, but made for normal UI (Not for AvaloniaUI).
This error can be prevented if the file in https://amiibo.ryujinx.org/ did not have the date with milliseconds.

* Securely trying to get a list of Amiibo (For normal UI)

* Securely trying to get a list of Amiibo (Change for AvaloniaUI)

* Date comparison reverted

* Apply suggestions from code review

* Use fallback amiibo.json if remote file is not valid (Normal UI)

* Use fallback amiibo.json if remote file is not valid (Avalonia UI)

* Code styles corrected.

* Code styles corrected in AmiiboWindowViewModel.

* Readded Ryujinx.Common.Logging using.

* Fixed using order.

---------

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2023-12-28 02:43:17 +01:00
Isaac Marovitz
c1ef4faa51 Ava UI: Fix crash when clicking on a cheat's name (#5860)
* Fix crash

* Remove nullable

* Hide BuildId for child nodes

* Fix warning

* Fix charset
2023-12-25 06:57:14 +01:00
dependabot[bot]
f03d813323 ci: bump actions/upload-artifact from 3 to 4 (#6050)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 06:33:10 +01:00
Mary Guillemard
b698c23f47 Revert "ci: bump actions/github-script from 6 to 7 (#5966)"
This reverts commit ded95868f6d5eca5773f12d4be58a71f0a3684f6.
2023-12-11 21:51:40 +01:00
shinra-electric
cc0913582e Correctly set filetypes in Info.plist (#6023)
Currently the filetype association is not working. 

This should hopefully fix it.
2023-12-11 21:49:07 +01:00
Mary Guillemard
8075b46178 infra: Fix labeler.yml after labeler@v5 update 2023-12-11 21:43:05 +01:00
rmg-x
c5f3d62d50 Ava UI: Fix temporary volume not being set after unmute (#5833) 2023-12-11 21:26:11 +01:00
gdkchan
c2f46752c4 Implement support for multi-range buffers using Vulkan sparse mappings (#5427)
* Pass MultiRange to BufferManager

* Implement support for multi-range buffers using Vulkan sparse mappings

* Use multi-range for remaining buffers, delete old methods

* Assume that more buffers are contiguous

* Dispose multi-range buffers after they are removed from the list

* Properly init BufferBounds for constant and storage buffers

* Do not try reading zero bytes data from an unmapped address on the shader cache + PR feedback

* Fix misaligned sparse buffer offsets

* Null check can be simplified

* PR feedback
2023-12-04 20:30:19 +01:00
dependabot[bot]
ded95868f6 ci: bump actions/github-script from 6 to 7 (#5966)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 20:29:41 +01:00
TSRBerry
b53460faee ApplicationLibrary: Skip invalid symlinks (#6004) 2023-12-04 19:16:34 +01:00
dependabot[bot]
a35af1c913 ci: bump actions/labeler from 4 to 5 (#6007)
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 19:15:52 +01:00
dependabot[bot]
7f7eb8b4ec ci: bump actions/setup-dotnet from 3 to 4 (#6006)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3 to 4.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 19:15:30 +01:00
gnisman
1cc0c062b3 Improve indication of emulation being paused by the User (#5836)
* Improve indication of emulation being paused by the User

* Use localised for Paused

* Backup original title - PR comments fix

* Add common helper method to assemble App title
2023-12-04 17:52:25 +01:00
TSRBerry
3ebf8a40fa editorconfig: Set default encoding to UTF-8 (#5793)
* editorconfig: Add default charset

* Change file encoding from UTF-8-BOM to UTF-8
2023-12-04 14:17:13 +01:00