Commit Graph

2497 Commits

Author SHA1 Message Date
wheremyfoodat
2bedba53d3 Update .clang-format 2025-09-29 18:15:55 +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
2ebf17fc2b Enable texture hashing by default for libretro core (#809) 2025-09-23 20:48:12 +03:00
wheremyfoodat
ff561d66a2 Demote inVaddr panic to warning for home menu 2025-08-29 00:45:08 +03:00
wheremyfoodat
78002be334 Vendor Teakra, make emulator own DSP RAM and add DSP RAM to fastmem (#806)
* DSP: Own DSP RAM and add it to fastmem

* Vendor Teakra

* Add MacOS support to fastmem

* Fix MacOS fastmem paths

* Fix iOS build
2025-08-22 02:12:21 +03:00
Eric Warmenhoven
ff100dc5ac Update .gitlab-ci.yml (#805) 2025-08-17 22:07:55 +00:00
wheremyfoodat
6b35d3b6d6 MacOS App Bundle fixes (#804)
* Mac bundle: Delete temporary icon files

* Mac bundle: Register app as game

* Mac bundle: Enable game mode support
2025-08-12 20:11:32 +03:00
wheremyfoodat
bd81c72608 Fix uninitialized warning and remove header pollution (#803)
* Fix uninitialized warning and remove header pollution

* Nits

* IWYU

* More IWYU
2025-08-07 23:12:45 +03:00
wheremyfoodat
1f2403c417 Add Luigi's Mansion fw to db (#802) 2025-08-07 21:05:39 +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
5ebee8ea72 SOC: Demote panic to warn 2025-08-04 00:22:51 +03:00
Eric Warmenhoven
3e2553e6c7 libretro: enable android builds on gitlab (#799) 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 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 2025-07-29 03:55:00 +03:00
wheremyfoodat
a8ebc71f11 Fix nits 2025-07-28 19:01:34 +03:00
wheremyfoodat
948ae5ef4a Qt: Fix ScreenWidgetGL when OpenGL is disabled 2025-07-27 08:12:11 +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
8b0b1939cf GL: Respect minimum UBO alignment requirement (#794)
* 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)
* Qt: Fix race condition when using cheats

* Nit
2025-07-24 17:17:40 +03:00
wheremyfoodat
f8c3ddff9a Update Test_Build.yml 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 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) 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
sylvieee-iot
1e7e41187d Very important work (#783) 2025-07-21 03:13:53 +03:00
wheremyfoodat
2ccb264a86 HLE DSP: Implement partial embedded buffer updates (#782) 2025-07-21 01:59:46 +03:00
wheremyfoodat
146dc92a0f Formatting fixes (#781)
* Formatting

* More formatting

* More formatting

* More formatting
2025-07-21 00:33:24 +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
3cae1bd256 Merge pull request #778 from wheremyfoodat/dsp-debugger2
Add DSP debugger
2025-07-09 01:16:53 +03:00
wheremyfoodat
d126cf1ac6 Reduce global namespace bloat 2025-07-09 00:26:51 +03:00
wheremyfoodat
9ef7db63ef Update teakra 2025-07-08 23:59:28 +03:00
wheremyfoodat
518b279139 DSP debugger: Fix prpage 2025-07-08 23:39:12 +03:00
wheremyfoodat
69bbb13d5d Make HLE DSP load binaries too 2025-07-08 23:39:12 +03:00
wheremyfoodat
c872cfb507 Fix PC in disassembly 2025-07-08 23:39:12 +03:00
wheremyfoodat
415bf7b0a4 Initial DSP debugger work 2025-07-08 23:39:12 +03:00
wheremyfoodat
f4e6a082bb CPU Debugger: Fix branch disassembly 2025-07-08 02:40:38 +03:00
wheremyfoodat
8ba3b1ceca CECD: Stub GetChangeStateEventHandle (#776)
* CECD: Stub GetChangeStateEventHandle

* More CECD
2025-07-08 02:18:13 +03:00
wheremyfoodat
94d78edb49 Add missing override 2025-07-07 13:41:57 +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
ce4750e375 Merge pull request #774 from wheremyfoodat/cpu-debugger
Qt: Initial CPU debugger implementation
2025-07-07 05:09:06 +03:00
wheremyfoodat
2909e671aa Make address input wider
Co-Authored-By: liuk707 <62625900+liuk7071@users.noreply.github.com>
2025-07-07 04:41:12 +03:00
wheremyfoodat
37f38509db More CPU debugger work
Co-Authored-By: liuk707 <62625900+liuk7071@users.noreply.github.com>
2025-07-07 04:32:17 +03:00