Commit graph

2535 commits

Author SHA1 Message Date
wheremyfoodat
25a2d433c9 FS: Warn on unimplemented functions instead of panic 2025-08-07 15:59:57 +03:00
wheremyfoodat
67a7be3138 Memory: Remove unused code 2025-08-07 15:50:16 +03:00
wheremyfoodat
d26235cf8b More memory fixes 2025-08-06 00:05:05 +03:00
wheremyfoodat
ee81cb7fd3 NCSD loader: Fix BSS (again) (again) 2025-08-05 23:00:09 +03:00
wheremyfoodat
a4520d4dd5 NCSD loader: Fix BSS (again) 2025-08-05 22:54:21 +03:00
wheremyfoodat
831758beb8 Memory/CRO: Workaround for Pokemon XY 2025-08-05 22:45:54 +03:00
wheremyfoodat
e9a2100b15 Cleanup 2025-08-05 22:33:44 +03:00
wheremyfoodat
b7b245a7b0 Formatting 2025-08-04 00:43:02 +03:00
wheremyfoodat
0b60559b34 Remove unused code 2025-08-03 19:53:51 +03:00
wheremyfoodat
277876cd14 Properly initialize BSS to zeroes 2025-08-03 19:51:41 +03:00
wheremyfoodat
51ea9639de More cleanup 2025-08-03 18:44:52 +03:00
wheremyfoodat
8d67685b93 Add setting for toggling fastmem 2025-08-03 18:37:06 +03:00
wheremyfoodat
c0794dd3d5 Make invalid mprotects warn instead of panicking 2025-08-03 18:23:45 +03:00
wheremyfoodat
fe06d02baf More cleanup 2025-08-03 18:13:52 +03:00
wheremyfoodat
54764b6deb Cleanup 2025-08-03 18:09:19 +03:00
wheremyfoodat
59b3ddfb12 Kernel types: Cleanup 2025-08-03 17:20:19 +03:00
wheremyfoodat
3c8dd1a39e Emulator: Reorder struct 2025-08-03 17:17:58 +03:00
wheremyfoodat
e955056e81 Fix oopsie again 2025-08-03 17:07:40 +03:00
wheremyfoodat
639083df6c Clean up fastmem code 2025-08-03 17:07:11 +03:00
wheremyfoodat
94dbbf962d Fix fastmem mapping 2025-08-03 17:04:48 +03:00
wheremyfoodat
964b5632d1 Fix metal renderer compilation 2025-08-03 16:58:02 +03:00
wheremyfoodat
cb2ba129e8 Update metal-cpp 2025-08-03 16:22:48 +03:00
wheremyfoodat
db2ab91499 Update Boost 2025-08-03 16:06:29 +03:00
wheremyfoodat
46d8c03947 GetSystemInfo, GetProcessInfo: Memory sizes should be in bytes 2025-08-03 12:45:16 +03:00
wheremyfoodat
c7dc503bdf Add fastmem 2025-08-03 12:37:48 +03:00
wheremyfoodat
1b50d14da2 Merge branch 'master' into memory-rework 2025-08-03 11:49:50 +03:00
wheremyfoodat
8b551fba40 Re-add 3DSX support 2025-08-03 11:47:36 +03:00
wheremyfoodat
3b1d05ecce Re-add ELF support 2025-08-03 11:36:28 +03:00
wheremyfoodat
cff66a79fb
Merge branch 'master' into fastmem2 2025-08-02 15:00:08 +03:00
Eric Warmenhoven
3e2553e6c7
libretro: enable android builds on gitlab (#799)
Some checks failed
Hydra Core Build / Windows (push) Has been cancelled
Hydra Core Build / MacOS (push) Has been cancelled
Android Build / x64 (release) (push) Has been cancelled
Android Build / arm64 (release) (push) Has been cancelled
HTTP Server Build / build (push) Has been cancelled
Hydra Core Build / Linux (push) Has been cancelled
Hydra Core Build / Android-x64 (push) Has been cancelled
Hydra Core Build / ARM-Libretro (push) Has been cancelled
Hydra Core Build / ARM-Libretro-Android (push) Has been cancelled
Linux AppImage Build / build (push) Has been cancelled
Linux Build / build (push) Has been cancelled
MacOS Build / MacOS-arm64 (push) Has been cancelled
MacOS Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Windows (push) Has been cancelled
Qt Build / MacOS-arm64 (push) Has been cancelled
Qt Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Linux (push) Has been cancelled
Hardware Test Build / build (push) Has been cancelled
Windows Build / build (push) Has been cancelled
iOS Simulator Build / build (push) Has been cancelled
MacOS Build / MacOS-Universal (push) Has been cancelled
Qt Build / MacOS-Universal (push) Has been cancelled
2025-07-31 20:52:40 +03:00
wheremyfoodat
2699dcd82e
Build Android libretro core on CI (#797)
* Attempt to build Android libretro core on CI

* Hopefully fix Android libretro compilation

* Try fix libretro android again

* Fix SO name

* Rename .so again

* Nit

* Update Android Libretro build

* Remove ccache for Android libretro
2025-07-31 17:04:15 +03:00
wheremyfoodat
9d04f40c3f
HID: Update comments
Some checks failed
Hydra Core Build / Windows (push) Has been cancelled
Hydra Core Build / MacOS (push) Has been cancelled
Android Build / x64 (release) (push) Has been cancelled
Android Build / arm64 (release) (push) Has been cancelled
HTTP Server Build / build (push) Has been cancelled
MacOS Build / MacOS-arm64 (push) Has been cancelled
MacOS Build / MacOS-x86_64 (push) Has been cancelled
iOS Simulator Build / build (push) Has been cancelled
Hydra Core Build / Linux (push) Has been cancelled
Hydra Core Build / Android-x64 (push) Has been cancelled
Hydra Core Build / ARM-Libretro (push) Has been cancelled
Linux AppImage Build / build (push) Has been cancelled
Linux Build / build (push) Has been cancelled
Qt Build / Windows (push) Has been cancelled
Qt Build / MacOS-arm64 (push) Has been cancelled
Qt Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Linux (push) Has been cancelled
Hardware Test Build / build (push) Has been cancelled
Windows Build / build (push) Has been cancelled
MacOS Build / MacOS-Universal (push) Has been cancelled
Qt Build / MacOS-Universal (push) Has been cancelled
2025-07-30 14:23:28 +03:00
wheremyfoodat
115368491f
Libretro: Add ZL/ZR support (#796)
* iOS: Remove unused hidService

* Libretro: Add ZL/ZR support

* Test build: Create venv

* Install python3-venv package

* Update Test_Build.yml
2025-07-30 09:41:46 +03:00
wheremyfoodat
21c25d2fb8
AAC: Remove unused code
Some checks failed
Android Build / x64 (release) (push) Has been cancelled
Android Build / arm64 (release) (push) Has been cancelled
HTTP Server Build / build (push) Has been cancelled
Hydra Core Build / Windows (push) Has been cancelled
Hydra Core Build / MacOS (push) Has been cancelled
Hydra Core Build / Linux (push) Has been cancelled
Hydra Core Build / Android-x64 (push) Has been cancelled
Hydra Core Build / ARM-Libretro (push) Has been cancelled
Linux AppImage Build / build (push) Has been cancelled
Linux Build / build (push) Has been cancelled
MacOS Build / MacOS-arm64 (push) Has been cancelled
MacOS Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Windows (push) Has been cancelled
Qt Build / MacOS-arm64 (push) Has been cancelled
Qt Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Linux (push) Has been cancelled
Hardware Test Build / build (push) Has been cancelled
Windows Build / build (push) Has been cancelled
iOS Simulator Build / build (push) Has been cancelled
MacOS Build / MacOS-Universal (push) Has been cancelled
Qt Build / MacOS-Universal (push) Has been cancelled
2025-07-29 03:55:00 +03:00
wheremyfoodat
a8ebc71f11
Fix nits
Some checks are pending
Android Build / x64 (release) (push) Waiting to run
Android Build / arm64 (release) (push) Waiting to run
HTTP Server Build / build (push) Waiting to run
Hydra Core Build / Windows (push) Waiting to run
Hydra Core Build / MacOS (push) Waiting to run
Hydra Core Build / Linux (push) Waiting to run
Hydra Core Build / Android-x64 (push) Waiting to run
Hydra Core Build / ARM-Libretro (push) Waiting to run
Linux AppImage Build / build (push) Waiting to run
Linux Build / build (push) Waiting to run
MacOS Build / MacOS-arm64 (push) Waiting to run
MacOS Build / MacOS-x86_64 (push) Waiting to run
MacOS Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Windows (push) Waiting to run
Qt Build / MacOS-arm64 (push) Waiting to run
Qt Build / MacOS-x86_64 (push) Waiting to run
Qt Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Linux (push) Waiting to run
Hardware Test Build / build (push) Waiting to run
Windows Build / build (push) Waiting to run
iOS Simulator Build / build (push) Waiting to run
2025-07-28 19:01:34 +03:00
wheremyfoodat
948ae5ef4a
Qt: Fix ScreenWidgetGL when OpenGL is disabled
Some checks failed
iOS Simulator Build / build (push) Has been cancelled
Android Build / x64 (release) (push) Has been cancelled
Android Build / arm64 (release) (push) Has been cancelled
HTTP Server Build / build (push) Has been cancelled
Hydra Core Build / Windows (push) Has been cancelled
Hydra Core Build / MacOS (push) Has been cancelled
Hydra Core Build / Linux (push) Has been cancelled
Hydra Core Build / Android-x64 (push) Has been cancelled
Hydra Core Build / ARM-Libretro (push) Has been cancelled
Linux AppImage Build / build (push) Has been cancelled
Linux Build / build (push) Has been cancelled
MacOS Build / MacOS-arm64 (push) Has been cancelled
MacOS Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Windows (push) Has been cancelled
Qt Build / MacOS-arm64 (push) Has been cancelled
Qt Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Linux (push) Has been cancelled
Hardware Test Build / build (push) Has been cancelled
Windows Build / build (push) Has been cancelled
MacOS Build / MacOS-Universal (push) Has been cancelled
Qt Build / MacOS-Universal (push) Has been cancelled
2025-07-27 08:12:11 +03:00
wheremyfoodat
0446bcdaa1
Add Metal support to Qt frontend and clean up renderer creation code (#795)
Some checks are pending
Android Build / x64 (release) (push) Waiting to run
Android Build / arm64 (release) (push) Waiting to run
HTTP Server Build / build (push) Waiting to run
Hydra Core Build / Windows (push) Waiting to run
Hydra Core Build / MacOS (push) Waiting to run
Hydra Core Build / Linux (push) Waiting to run
Hydra Core Build / Android-x64 (push) Waiting to run
Hydra Core Build / ARM-Libretro (push) Waiting to run
Linux AppImage Build / build (push) Waiting to run
Linux Build / build (push) Waiting to run
MacOS Build / MacOS-arm64 (push) Waiting to run
MacOS Build / MacOS-x86_64 (push) Waiting to run
MacOS Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Windows (push) Waiting to run
Qt Build / MacOS-arm64 (push) Waiting to run
Qt Build / MacOS-x86_64 (push) Waiting to run
Qt Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Linux (push) Waiting to run
Hardware Test Build / build (push) Waiting to run
Windows Build / build (push) Waiting to run
iOS Simulator Build / build (push) Waiting to run
* Qt: Initial support for Metal renderer

* Clean up graphics context code

* Nits

* More nits

* Qt: Move screen-related stuff to own folder

* Qt: Make screen widget polymorphic

* Qt: Re-add Metal

* Add factory for screen widget

* Qt: Support compilation without Metal

* Qt: Fix build without Metal

* Oops

* oops
2025-07-26 23:13:08 +03:00
wheremyfoodat
8b0b1939cf
GL: Respect minimum UBO alignment requirement (#794)
Some checks failed
Hydra Core Build / MacOS (push) Has been cancelled
Hydra Core Build / ARM-Libretro (push) Has been cancelled
Linux Build / build (push) Has been cancelled
Windows Build / build (push) Has been cancelled
MacOS Build / MacOS-x86_64 (push) Has been cancelled
Qt Build / Windows (push) Has been cancelled
Qt Build / MacOS-arm64 (push) Has been cancelled
Qt Build / Linux (push) Has been cancelled
iOS Simulator Build / build (push) Has been cancelled
Hardware Test Build / build (push) Has been cancelled
MacOS Build / MacOS-Universal (push) Has been cancelled
Qt Build / MacOS-Universal (push) Has been cancelled
Android Build / x64 (release) (push) Has been cancelled
HTTP Server Build / build (push) Has been cancelled
Hydra Core Build / Windows (push) Has been cancelled
Hydra Core Build / Linux (push) Has been cancelled
Hydra Core Build / Android-x64 (push) Has been cancelled
Linux AppImage Build / build (push) Has been cancelled
MacOS Build / MacOS-arm64 (push) Has been cancelled
Qt Build / MacOS-x86_64 (push) Has been cancelled
Android Build / arm64 (release) (push) Has been cancelled
* GL: Respect minimum UBO alignment requirement

* Use glBindBufferRange for UBOs

* Fix fragment shadergen UBO bindings

* Nit
2025-07-25 01:24:23 +03:00
wheremyfoodat
0815707613
GL: Use StreamBuffer for shadergen UBOs (#793)
* GL: Use StreamBuffer for shadergen UBOs

* Clean up UBO sizes
2025-07-24 23:25:34 +03:00
wheremyfoodat
3ac5f1b0c6
Qt: Fix race condition when using cheats (#792)
Some checks are pending
Android Build / x64 (release) (push) Waiting to run
Android Build / arm64 (release) (push) Waiting to run
HTTP Server Build / build (push) Waiting to run
Hydra Core Build / Windows (push) Waiting to run
Hydra Core Build / MacOS (push) Waiting to run
Hydra Core Build / Linux (push) Waiting to run
Hydra Core Build / Android-x64 (push) Waiting to run
Hydra Core Build / ARM-Libretro (push) Waiting to run
Linux AppImage Build / build (push) Waiting to run
Linux Build / build (push) Waiting to run
MacOS Build / MacOS-arm64 (push) Waiting to run
MacOS Build / MacOS-x86_64 (push) Waiting to run
MacOS Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Linux (push) Waiting to run
Hardware Test Build / build (push) Waiting to run
Qt Build / Windows (push) Waiting to run
Qt Build / MacOS-arm64 (push) Waiting to run
Qt Build / MacOS-x86_64 (push) Waiting to run
Windows Build / build (push) Waiting to run
iOS Simulator Build / build (push) Waiting to run
* Qt: Fix race condition when using cheats

* Nit
2025-07-24 17:17:40 +03:00
wheremyfoodat
f8c3ddff9a
Update Test_Build.yml
Some checks are pending
HTTP Server Build / build (push) Waiting to run
Hydra Core Build / Windows (push) Waiting to run
Hydra Core Build / MacOS (push) Waiting to run
Hydra Core Build / Linux (push) Waiting to run
Hydra Core Build / Android-x64 (push) Waiting to run
Hydra Core Build / ARM-Libretro (push) Waiting to run
Linux AppImage Build / build (push) Waiting to run
Linux Build / build (push) Waiting to run
MacOS Build / MacOS-arm64 (push) Waiting to run
MacOS Build / MacOS-x86_64 (push) Waiting to run
MacOS Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Windows (push) Waiting to run
Qt Build / MacOS-arm64 (push) Waiting to run
Qt Build / MacOS-x86_64 (push) Waiting to run
iOS Simulator Build / build (push) Waiting to run
Qt Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Linux (push) Waiting to run
Hardware Test Build / build (push) Waiting to run
Windows Build / build (push) Waiting to run
Android Build / x64 (release) (push) Waiting to run
Android Build / arm64 (release) (push) Waiting to run
2025-07-23 14:59:10 +03:00
wheremyfoodat
ece809d368
Build hardware tests on CI (#791)
* Build tests on CI

* Update workflows

* Update Test_Build.yml

* Update Test_Build.yml

* Update Test_Build.yml

* Update Test_Build.yml
2025-07-23 14:18:02 +03:00
wheremyfoodat
89426db797
Tests: Cleanup (#790) 2025-07-23 13:54:07 +03:00
wheremyfoodat
95231514e2
Remove iconset files
Some checks are pending
Android Build / x64 (release) (push) Waiting to run
Android Build / arm64 (release) (push) Waiting to run
HTTP Server Build / build (push) Waiting to run
Hydra Core Build / Windows (push) Waiting to run
Hydra Core Build / MacOS (push) Waiting to run
Hydra Core Build / Linux (push) Waiting to run
Hydra Core Build / Android-x64 (push) Waiting to run
MacOS Build / MacOS-arm64 (push) Waiting to run
Qt Build / MacOS-x86_64 (push) Waiting to run
Qt Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Linux (push) Waiting to run
Hydra Core Build / ARM-Libretro (push) Waiting to run
Linux AppImage Build / build (push) Waiting to run
Linux Build / build (push) Waiting to run
MacOS Build / MacOS-x86_64 (push) Waiting to run
MacOS Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Windows (push) Waiting to run
Qt Build / MacOS-arm64 (push) Waiting to run
Windows Build / build (push) Waiting to run
iOS Simulator Build / build (push) Waiting to run
2025-07-23 05:31:45 +03:00
wheremyfoodat
b286306648
Fix MacOS icon oopsie (#789) 2025-07-23 05:26:44 +03:00
wheremyfoodat
5beb9d8b17
MacOS: Make app icons round (#788) 2025-07-23 05:21:42 +03:00
wheremyfoodat
b8cbfcca89
GPU: Fix VertexShaderOutputMask in non-accelerated draws (#787)
Some checks are pending
Android Build / x64 (release) (push) Waiting to run
Android Build / arm64 (release) (push) Waiting to run
HTTP Server Build / build (push) Waiting to run
Hydra Core Build / Windows (push) Waiting to run
Hydra Core Build / MacOS (push) Waiting to run
Hydra Core Build / Linux (push) Waiting to run
Hydra Core Build / Android-x64 (push) Waiting to run
Hydra Core Build / ARM-Libretro (push) Waiting to run
Linux AppImage Build / build (push) Waiting to run
Linux Build / build (push) Waiting to run
MacOS Build / MacOS-arm64 (push) Waiting to run
MacOS Build / MacOS-x86_64 (push) Waiting to run
MacOS Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / MacOS-arm64 (push) Waiting to run
Qt Build / Windows (push) Waiting to run
Qt Build / MacOS-x86_64 (push) Waiting to run
Qt Build / MacOS-Universal (push) Blocked by required conditions
Qt Build / Linux (push) Waiting to run
Windows Build / build (push) Waiting to run
iOS Simulator Build / build (push) Waiting to run
2025-07-23 03:54:05 +03:00
wheremyfoodat
97b2557391
Enable audio by default on all frontends 2025-07-23 03:45:50 +03:00
wheremyfoodat
3c473a5fce
Shader interpreter: Fix out-of-bounds float uniform edge cases (#786) 2025-07-23 02:55:27 +03:00
wheremyfoodat
74ee07bec9
Tests: Fix shader test compilation on MacOS (#784) 2025-07-23 02:21:33 +03:00