Commit Graph

330 Commits

Author SHA1 Message Date
moonpower
90c186fa4d start of proper UWP support 2026-02-01 06:21:02 +01:00
wheremyfoodat
fd90f9a4d0 Bump minimum MacOS version to 13.3 if using Vulkan (#811) 2025-10-12 01:23:23 +03:00
wheremyfoodat
9a91c0bc30 Add support for using system LuaJIT (#808)
* Add support for using system LuaJIT

* Test CI: Update package list

* Update toml11
2025-09-23 21:37:55 +03:00
wheremyfoodat
6d1ef7cb4f Memory rework pt 2 (#801)
* Memory: Rework FCRAM management entirely

Disables a lot of functionality... but I didn't want to commit too much to this commit
Also reworks virtual memory management somewhat (but needs more work)

* Accurately handle MemoryState for virtual memory

Previously all non-free blocks were marked as Reserved

* Memory: Consolidate state and permission changes

Can now use a single function to change either state, permissions, or both
Also merge vmem blocks that have the same state and permissions

* Memory: Fix double reset for FCRAM manager

Fix minor bug with permission tracking

* Memory: Implement Protect operation in ControlMemory

* Memory: Implement Unmap in ControlMemory

Also do a sanity check to make sure the memory region is free for linear allocations

* Memory: Make TLS only 0x200 bytes for each thread

Also move TLS to Base region

* RO: Unmap CROs when unloaded

Thanks @noumidev

* Kernel: Return used app memory for Commit ResourceLimit

Not quite correct, but nothing to be done until process management is improved
Also remove the stack limit for CXIs (thanks amogus)

* Kernel: Report used app memory for GetProcessInfo 2

Not really correct, but it should be accurate for applications at least

* Formatting changes

* Initial fastmem support

* PCSX2 fastmem depression

* Move away from PCSX2 fastmem

* Add enum_flag_ops.hpp

* Finally building on Windows

* Almost got a PoC

* Fix arm64 builds

* This somehow works

* This also works...

* Properly fix fastmem

* Add free region manager

* Update boost

* Add ScopeExit

* Comment out asserts on Linux/Mac/Android

* Comment out ASSERT_MSG asserts too

* Fix derp

* Attempt to fix Android

* Disable fastmem on Android

* Fix Android again maybe pt 2

* android pls

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* Update host_memory.cpp

* Properly reset memory arena on reset

* Proper ashmem code for Android

* more

* Add temporary Android buildjet script for faster prototype builds

* Fix fastmem (again)

* Clean up shared memory

* Remove Android BuildJet runner

* a

* Revert "a"

This reverts commit 5443ad6f2a794c19c9b1a1567ca1c7f58eed78cd.

* Re-add ELF support

* Re-add 3DSX support

* GetSystemInfo, GetProcessInfo: Memory sizes should be in bytes

* Update Boost

* Update metal-cpp

* Fix metal renderer compilation

* Fix fastmem mapping

* Clean up fastmem code

* Fix oopsie again

* Emulator: Reorder struct

* Kernel types: Cleanup

* Cleanup

* More cleanup

* Make invalid mprotects warn instead of panicking

* Add setting for toggling fastmem

* More cleanup

* Properly initialize BSS to zeroes

* Remove unused code

* Formatting

* Cleanup

* Memory/CRO: Workaround for Pokemon XY

* NCSD loader: Fix BSS (again)

* NCSD loader: Fix BSS (again) (again)

* More memory fixes

* Memory: Remove unused code

* FS: Warn on unimplemented functions instead of panic

* Update software_keyboard.cpp

* Libretro: Add fastmem option

* FRD: Stub SaveLocalAccountData

---------

Co-authored-by: PSI-Rockin <PSI-Rockin@users.noreply.github.com>
2025-08-07 20:18:09 +03:00
wheremyfoodat
0446bcdaa1 Add Metal support to Qt frontend and clean up renderer creation code (#795)
* 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
81f37e1699 Qt: Allow rebinding keyboard controls (#779)
* Initial input UI draft

Co-Authored-By: Paris Oplopoios <parisoplop@gmail.com>

* More keybinding work

Co-Authored-By: Paris Oplopoios <parisoplop@gmail.com>

* Nit

Co-Authored-By: Paris Oplopoios <parisoplop@gmail.com>

* More nits

Co-Authored-By: Paris Oplopoios <parisoplop@gmail.com>

---------

Co-authored-by: Paris Oplopoios <parisoplop@gmail.com>
2025-07-18 04:08:08 +03:00
wheremyfoodat
69bbb13d5d Make HLE DSP load binaries too 2025-07-08 23:39:12 +03:00
wheremyfoodat
415bf7b0a4 Initial DSP debugger work 2025-07-08 23:39:12 +03:00
wheremyfoodat
c0948f4235 Upgrade Lua service intercepts (#775)
Co-authored-by: Théo B. <16072534+LiquidFenrir@users.noreply.github.com>
2025-07-07 11:52:57 +03:00
wheremyfoodat
9dc52577ea Qt: Initial CPU debugger widget implementation
Co-Authored-By: liuk707 <62625900+liuk7071@users.noreply.github.com>
2025-07-07 03:46:51 +03:00
wheremyfoodat
cf321b1ed8 Better screen layout support 2025-07-06 02:41:44 +03:00
wheremyfoodat
62748eef47 Initial screen layout implementation 2025-07-04 17:53:36 +03:00
wheremyfoodat
162e73bfd2 Clean up service intercepts 2025-07-04 02:11:23 +03:00
wheremyfoodat
9932e58bf0 Add thread debugger 2025-07-03 16:58:56 +03:00
wheremyfoodat
382c0f953d Initial CPP implementation 2025-07-01 01:44:55 +03:00
Albert
7bd6cef3f0 Qt: Add runpog icon (#752) 2025-04-06 23:45:27 +00:00
wheremyfoodat
761f9264ba Merge pull request #745 from wheremyfoodat/ios
iOS driver & Metal renderer improvements
2025-03-16 17:12:51 +02:00
Samuliak
3a654b3609 metal: implement texture decoder 2025-03-11 08:23:59 +01:00
wheremyfoodat
90279e6f9e ios: Pass CAMetalLayer instead of void* to Obj-C++ bridging header 2025-03-08 22:11:56 +02:00
wheremyfoodat
1948bea209 More iOS work 2025-03-06 17:04:52 +02:00
wheremyfoodat
5a6ad5f02f Merge pull request #738 from yeager/master
Adding Swedish translation
2025-03-05 09:32:44 +02:00
wheremyfoodat
7bfcdbf442 [Qt] Hook Swedish to UI 2025-03-05 02:56:53 +02:00
wheremyfoodat
ebefbdc4db [Core] Improve iOS compilation workflow 2025-03-05 02:31:09 +02:00
wheremyfoodat
7d5cedf476 Add toggle for libretro audio device (#719) 2025-02-09 14:58:17 +02:00
Jonian Guveli
042ab6de03 [WIP] Libretro: Add audio support (#714)
* Libretro: Add audio support

* Adding audio interface part 1

* Audio device pt 2

* More audio device

* More audio device

* Morea uudi odevice

* More audio device

* More audio device

* More audio device

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2025-02-09 05:04:36 +02:00
Jonian Guveli
29083f0a08 Fix git versioning 2024-12-29 15:36:26 +02:00
wheremyfoodat
bde51b6d27 Fix disabling Wayland & building on some distros (#700) 2024-12-29 13:37:11 +02:00
wheremyfoodat
cb8b13e129 Support GLES on desktop 2024-12-28 19:52:42 +02:00
wheremyfoodat
80ccede765 Wayland fixes part 1 2024-12-28 17:14:11 +02:00
wheremyfoodat
8cc9bfbb36 CMake: Bump version 2024-12-25 14:59:26 +02:00
wheremyfoodat
dc80828397 Fix typo (#680)
Co-authored-by: Noumi <139501014+noumidev@users.noreply.github.com>
2024-12-10 18:52:53 +02:00
wheremyfoodat
cbf1e414a5 Merge pull request #675 from wheremyfoodat/TWL-Photo
FS: Stub card SPI and some other things
2024-12-09 19:12:32 +02:00
wheremyfoodat
cc669d7cab FS: Stub card SPI and some other things 2024-12-09 19:08:30 +02:00
Thomas
875464d6b4 Add Dutch translation (#674) 2024-12-08 23:56:21 +02:00
wheremyfoodat
055dbc7fb6 FS: Stub TWL_SOUND 2024-12-08 22:49:46 +02:00
wheremyfoodat
b436fdca64 FS: Stub TWL_PHOTO 2024-12-08 22:33:14 +02:00
wheremyfoodat
4af4780f18 Merge pull request #671 from twvd/universal
Add MacOS ARM64 and Universal builds to GitHub Actions
2024-12-08 12:32:54 +02:00
Thomas
303b106137 CMake: support CMAKE_OSX_ARCHITECTURES (one arch/build) 2024-12-08 10:45:10 +01:00
Gabriel Machado
da907499a0 Qt: Portuguese (Brasillian) (#670)
* pt-br

* rename

* some fix

* Limear

* pt-br to pt_br

* Typo

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-12-07 15:54:45 +02:00
Daniel López Guimaraes
4606be05ec Qt: Add Spanish translation (#669)
Every string is translated except for two of the color themes `Cream`
and `Greetings Cat` as I'm unsure where to literally translate it or
keep the original name.
2024-12-06 19:29:35 +02:00
wheremyfoodat
bfdc6f0240 Qt: Add translation support (#664)
* Translation PoC

* i18n but better

* More Greek translation

* Add proper translation UI

* Linux CI: Install qt6-tools-dev
2024-12-04 21:08:33 +02:00
wheremyfoodat
545ac81d81 Qt: Add SkyEmu duck icon (#657) 2024-12-02 19:41:51 +02:00
Jonian Guveli
156328fbfb [WIP] Qt: Add config window controls (#655)
* Qt: Add config window controls

* Fix Windows build

* Fix audio slider

* Qt configs: Make thread-safe, properly update audio enable & renderdoc settings

* Qt configs: Add `connectCheckbox` function

* Qt configs: Add `connectCheckbox` function

* Rename spuLayout

* Add Discord RPC reloading

* Allow configuring the app icon

* Qt: Serialize icon & theme, properly set them

* Add rnap and rcow icons

* Qt: Fix forceShadergen config

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-12-01 23:06:47 +02:00
wheremyfoodat
7e51f50999 Add DSP firmware database 2024-11-30 23:34:38 +02:00
wheremyfoodat
93c143d79d Silence some clang-cl warnings 2024-11-24 18:33:13 +02:00
wheremyfoodat
878ff419fd DSP: Add SSE quad-conversion code
Co-Authored-By: Kelpsy <138107494+kelpsyberry@users.noreply.github.com>
2024-11-20 18:09:57 +02:00
wheremyfoodat
33f45cf1f5 Merge branch 'master' into more-dsp 2024-11-20 02:40:20 +02:00
wheremyfoodat
224ddac07c Fix SIMD on MSVC (#639) 2024-11-20 02:29:27 +02:00
wheremyfoodat
20a6e0bf0d Allow compilation with clang-cl (#638) 2024-11-20 00:57:52 +02:00
Nadia Holmquist Pedersen
f4eb8bc644 cmake: Add a USE_SYSTEM_SDL2 option 2024-11-12 16:49:10 +01:00