Commit Graph

2518 Commits

Author SHA1 Message Date
wheremyfoodat
0c1ccbd177 Qt: Add recent games list 2026-02-24 19:56:51 +02:00
wheremyfoodat
f5e5be4b6d GL State: Fix resetClearing color order (#821) 2026-01-19 01:11:35 +02:00
wheremyfoodat
6d4f81200d arm64 JIT: Undo broken fix 2025-11-24 01:21:30 +02:00
wheremyfoodat
bd9363ddc4 Vendor xbyak (#818) 2025-11-24 01:13:44 +02:00
wheremyfoodat
4e894bcbe9 Merge branch 'master' of https://github.com/wheremyfoodat/Panda3DS 2025-11-24 01:13:10 +02:00
wheremyfoodat
7d2446d19d Hopefully fix iOS build (#817) 2025-11-24 00:58:28 +02:00
wheremyfoodat
d5e8b39351 Merge branch 'master' of https://github.com/wheremyfoodat/Panda3DS 2025-11-24 00:56:53 +02:00
wheremyfoodat
18b05f3572 arm64 shader JIT: Fix crash 2025-11-24 00:56:31 +02:00
wheremyfoodat
d7bf5cf047 CI: Temporarily disable Vulkan SDK cache 2025-11-23 23:32:43 +02:00
Ishan09811
19f5e874c6 pandroid: allow to bind volume keys (#814)
* allow to bind volume keys

* fix mapping

* pass false instead of null
2025-11-01 12:45:59 +02:00
wheremyfoodat
efdff98c05 Add license header to host_memory.cpp 2025-10-14 20:10:09 +03:00
wheremyfoodat
53f9ffc12e Scheduler: Further cleanup 2025-10-12 15:40:25 +03:00
wheremyfoodat
bac050fc4b Fastmem: Fix iOS/OSX checks (#813) 2025-10-12 05:31:33 +03:00
wheremyfoodat
40da62f0cd Merge pull request #812 from wheremyfoodat/scheduler
Scheduler: Optimize by adding a proper reschedule function
2025-10-12 03:02:50 +03:00
wheremyfoodat
3f4e240bfc Vendor and update Capstone 2025-10-12 02:45:17 +03:00
wheremyfoodat
0b8d8af9c7 Scheduler: Optimize by adding a proper reschedule function 2025-10-12 02:26:51 +03:00
wheremyfoodat
fd90f9a4d0 Bump minimum MacOS version to 13.3 if using Vulkan (#811) 2025-10-12 01:23:23 +03:00
wheremyfoodat
49fe7037cb Scheduler: Fix typo 2025-10-12 00:01:36 +03:00
wheremyfoodat
72b9aecda5 Thread scheduling fixes (#722)
* Add thread preemption when a thread wakes up from a timeout

* Add arbiter sleeping with timeout

Update threads.cpp

* Scheduler: Fix event numbers

* More address arbiter fixes

* Update preempt threads branch (#755)

* CI: Fix Vulkan SDK action (#723)

* GPU registers: Fix writes to some registers ignoring the mask (#725)

Co-authored-by: henry <23128103+atem2069@users.noreply.github.com>

* OLED theme

* OLED theme config fix (#736)

Co-authored-by: smiRaphi <neogt404@gmail.com>

* Adding Swedish translation

* Fix Metal renderer compilation on iOS

* [Core] Improve iOS compilation workflow

* [Qt] Hook Swedish to UI

* AppDataDocumentProvider: Typo (#740)

* More iOS work

* More iOS progress

* More iOS work

* AppDataDocumentProvider: Add missing ``COLUMN_FLAGS`` in the default document projectation (#741)

Fixes unable to copy files from device to app's internal storage problem

* More iOS work

* ios: Simplify MTKView interface (still doesn't work though)

* ios: Pass CAMetalLayer instead of void* to Obj-C++ bridging header

* Fix bridging cast

* FINALLY IOS GRAPHICS

* ios: Remove printf spam

* Metal: Reimplement some texture formats on iOS

* metal: implement texture decoder

* metal: check for format support

* metal: implement texture swizzling

* metal: remove unused texture functions

* Shadergen types: Add Metal & MSL

* Format

* Undo submodule changes

* Readme: Add Chonkystation 3

* Metal: Use std::unique_ptr for texture decode

* AppDataDocumentProvider: Allow to remove documents (#744)

* AppDataDocumentProvider: Allow to remove documents

* Typo

* Metal renderer fixes for iOS

* iOS driver: Add doc comments

* iOS: Add frontend & frontend build files (#746)

* iOS: Add SwiftUI part to repo

* Add iOS build script

* Update SDL2 submodule

* Fix iOS build script

* CI: Update xcode tools for iOS

* Update iOS_Build.yml

* Update iOS build

* Lower XCode version

* A

* Update project.pbxproj

* Update iOS_Build.yml

* Update iOS_Build.yml

* Update build.sh

* iOS: Fail on build error

* iOS: Add file picker (#747)

* iOS: Add file picker

* Fix lock placement

* Qt: Add runpog icon (#752)

* Update discord-rpc submodule (#753)

* Remove cryptoppwin submodule (#754)

---------

Co-authored-by: henry <23128103+atem2069@users.noreply.github.com>
Co-authored-by: smiRaphi <neogt404@gmail.com>
Co-authored-by: smiRaphi <87574679+smiRaphi@users.noreply.github.com>
Co-authored-by: Daniel Nylander <po@danielnylander.se>
Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
Co-authored-by: Samuliak <samuliak77@gmail.com>
Co-authored-by: Albert <45282415+ggrtk@users.noreply.github.com>

---------

Co-authored-by: henry <23128103+atem2069@users.noreply.github.com>
Co-authored-by: smiRaphi <neogt404@gmail.com>
Co-authored-by: smiRaphi <87574679+smiRaphi@users.noreply.github.com>
Co-authored-by: Daniel Nylander <po@danielnylander.se>
Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
Co-authored-by: Samuliak <samuliak77@gmail.com>
Co-authored-by: Albert <45282415+ggrtk@users.noreply.github.com>
2025-10-12 00:00:15 +03:00
wheremyfoodat
3701fb6ca3 Fix broken iOS build 2025-10-11 23:54:46 +03:00
wheremyfoodat
560d42414c Update cmrc submodule (#810)
* Update cmrc submodule

* Bump up cryptopp CMake version

* Update dynarmic

* Update xbyak
2025-10-11 23:46:42 +03:00
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