Commit graph

85 commits

Author SHA1 Message Date
wheremyfoodat
082b6216b3
Update home menu branch (#759)
* Fix typo (#680)

Co-authored-by: Noumi <139501014+noumidev@users.noreply.github.com>

* More PTM stuff

Co-Authored-By: Noumi <139501014+noumidev@users.noreply.github.com>

* Make system language configurable

* Fix building crypto++ for x64 target on Apple silicon MacOS

* Attempt to switch to M1 runners again

* Prevent selecting Vulkan renderer in Qt frontend and present a message

* Libretro: Add system language option

* Only enable audio by default on libretro for now

* CMake: Bump version

* Store configuration file in AppData root if not in working directory (#693)

* Store configuration file in AppData root if not in working directory

This fixes MacOS app bundles, as the emulator cannot write the config
file into the app bundle.

* Remove duplicate fs calls

* I'm an idiot sandwich

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>

* GL: Add usingGLES to driverInfo struct (#694)

* Wayland fixes part 1

* Support GLES on desktop

* Qt: Fix Wayland support

Qt will only create a Wayland surface when show() is called on the main
window and on the ScreenWidget. Thus, call the function before creating
the GL context.

Doesn't cause regressions on XWayland, untested in other platforms.

Fixes #586

* No need to call screen->show() twice

* Fix disabling Wayland & building on some distros (#700)

* GLES: Properly stub out logic ops

* Fix git versioning

* Android_Build: Implement ccache (#703)

* Android_Build: Implement ccache

* Update Android_Build.yml

* Update Android_Build.yml

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>

* Removed dead Citra link in readme (#706)

* CRO: Lighter icache flushes

* Implement Luma icache SVCs

* Add missing SVC logs

* GPU: Add sw texture copies

* Use vk::detail::DynamicLoader instead of vk::DynamicLoader (#710)

* Use vk::detail::DynamicLoader instead of vk::DynamicLoader

* Update renderer_vk.cpp

* Vk: Fix typo

* Vk: Lock CI runners to SDK version 1.3.301 temporarily

* Vk: Fixing CI pt 2

* Vulkan: Fixing CI pt 3

* Vk: Fix typo

* Temporarily give 80MB to all processes (#715)

* Try to cross-compile Libretro core for arm64 (#717)

* Try to cross-compile Libretro core for arm64

* Bonk

* Update Hydra_Build.yml

* [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>

* Libretro audio device: Fix frame count

* Mark audio devices as final

* Add toggle for libretro audio device (#719)

* Very important work (#720)

* Very important work

* Most important fix

* Add more HLE service calls for eshop (#721)

* 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)

* Add optional texture hashing

* Fix build on new Vk SDK (#757)

Co-authored-by: Nadia Holmquist Pedersen <893884+nadiaholmquist@users.noreply.github.com>

* CI: Use new Vulkan SDK

---------

Co-authored-by: Noumi <139501014+noumidev@users.noreply.github.com>
Co-authored-by: Thomas <thomas@thomasw.dev>
Co-authored-by: Thomas <twvd@users.noreply.github.com>
Co-authored-by: Daniel López Guimaraes <danielectra@outlook.com>
Co-authored-by: Jonian Guveli <jonian@hardpixel.eu>
Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
Co-authored-by: Auxy6858 <71662994+Auxy6858@users.noreply.github.com>
Co-authored-by: Paris Oplopoios <parisoplop@gmail.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: Samuliak <samuliak77@gmail.com>
Co-authored-by: Albert <45282415+ggrtk@users.noreply.github.com>
Co-authored-by: Nadia Holmquist Pedersen <893884+nadiaholmquist@users.noreply.github.com>
2025-06-23 04:59:22 +03: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
1baf8a13ed JNI driver: Add setAudioEnabled hook 2024-11-20 21:45:22 +02:00
wheremyfoodat
2754df9b94
Add renderdoc API support (#585)
* Add renderdoc API support

* FIx renderdoc include directory

* Fix RenderDoc linking

* Fix Renderdoc linking (again)

* Maybe fix renderdoc
2024-08-23 05:30:25 +03:00
Paris Oplopoios
27ad7b01f3
Rename Emulator::run to FrontendSDL::run (#466)
* Rename Emulator::run to FrontendSDL::run

* Update frontend_sdl.cpp

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-03-16 23:20:37 +02:00
wheremyfoodat
d459cb1d6c
Get audio output working with LLE DSP (#419)
* Implement audio output

* Semi-proper audio output

* Add audio enable and vsync settings

* Add audio enable and vsync settings

* Optimize audio output a bit

* Make max ring buffer timeout smaller

* Make max ring buffer timeout smaller

* Revert to spinlocking for audio sync

* Sleep emulator thread if too many samples queued

* Fix Teakra submodule breaking

* Don't start audio device too soon

* Fix IWYU errors

* Fix compilation errors on GCC/Clang

* Ignore std::hardware_destructive_interference_size on Android NDK

* Fix more IWYU errors
2024-02-24 03:26:23 +02:00
wheremyfoodat
6279ed699a
Store program ID and expose it in Lua (#414) 2024-02-22 16:26:31 +02:00
wheremyfoodat
0a51a80d91 Add DSP emulation interface
Co-Authored-By: PSISP <12768103+psi-rockin@users.noreply.github.com>
2024-02-17 00:39:55 +02:00
wheremyfoodat
87b838f1bf Merge branch 'master' into scheduler 2024-01-22 14:34:04 +02:00
wheremyfoodat
fa82dad38d First stuff running with scheduler 2024-01-22 02:29:14 +02:00
wheremyfoodat
75663d0601 More app folder utilities 2024-01-21 22:27:58 +02:00
offtkp
3aa977c6c5 Clean up smdh getting 2023-12-28 00:28:19 +02:00
wheremyfoodat
6386605b97 We can now load lua scripts properly 2023-12-16 16:36:03 +02:00
wheremyfoodat
070d5b1c6d Fix configuration file path on Android 2023-11-28 12:08:25 +02:00
wheremyfoodat
b0261234a6 [Qt] Properly update HID service 2023-10-30 20:53:41 +02:00
offtkp
7e7d4f7f16 Make cheats struct more versatile 2023-10-27 02:23:41 +03:00
wheremyfoodat
d4a84c337e
Fix forward declaration of SDL_Window 2023-10-26 18:09:01 +03:00
wheremyfoodat
e900e9d614 Add Renderer::deinitGraphicsContext 2023-10-25 22:46:45 +03:00
offtkp
4172194479 Implement getFps hc function 2023-10-21 11:55:26 +03:00
offtkp
977ab53b68 Format the hydra 2023-10-20 19:50:57 +03:00
offtkp
d19a00d97d Friendship revoked with httpserver 2023-10-20 19:33:37 +03:00
offtkp
23636b22fa Hydra core 2023-10-20 19:31:55 +03:00
offtkp
b5b94a3526 Add some renderer related helper functions in emulator and renderergl 2023-10-20 02:59:53 +03:00
offtkp
fb0a2a6801 Decouple emulator and frontend code 2023-10-18 15:24:42 +03:00
wheremyfoodat
abe4675477 Attempt to add RomFS dumping 2023-10-07 21:23:05 +03:00
wheremyfoodat
c10a3e7160 Make emulator output size properly configurable 2023-10-01 16:28:14 +03:00
wheremyfoodat
5155682e0f Get emulator rendering working with Qt 2023-10-01 01:28:08 +03:00
wheremyfoodat
89ed176d97
Setting up Qt (#294)
* Initial Qt setup

* Fix copy paste derp

* Remove QApplication include

* Test MacOS Qt build

* Update Qt_Build.yml

* Update Qt_Build.yml

* Properly detect architecture for Qt

* Revert back to manual Qt installation to handle DLL nightmares

* Install Qt for MacOS CI

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* Rename lua.hpp to lua_manager.hpp

* Add Windows Qt deploy step

* Update Qt_Build.yml

* Update Qt_Build.yml

* Update Qt_Build.yml

* Update Qt_Build.yml

* AAAAAAAAAAAAAAAAAAAAAA

* Update Qt_Build.yml

* AAAAAAAAAAAAAA

* Update Qt_Build.yml

* Update Qt_Build.yml

* Update Qt_Build.yml

* Create mac-bundle-qt.sh

* Update Qt_Build.yml

* Update Qt_Build.yml

* Update mac-bundle-qt.sh

* Update Qt_Build.yml

* Update mac-bundle-qt.sh

* Update mac-bundle-qt.sh

* Update mac-bundle-qt.sh

* Update mac-bundle-qt.sh

* Recovering from heartbreak after the dylibbundler fork made me sad

* Help

* Update Qt_Build.yml

* Add mac dynlib manager from MelonDS

* Update mac-bundle-qt.sh

* Update mac-bundle-qt.sh

* Update mac-libs.rb

* Update mac-bundle-qt.sh

* Create linux-appimage-qt.sh

* Update Qt_Build.yml
2023-09-29 17:30:13 +03:00
wheremyfoodat
b908f3efc1 Embed LuaJIT part 1 2023-09-17 16:15:54 +03:00
wheremyfoodat
3110da1fd6 Add amiibo loading interface 2023-09-08 19:01:44 +03:00
Théo B
29352d223b feat: 3dsx loading
romFS works too, pretty neat
2023-09-03 00:31:03 +02:00
wheremyfoodat
1c11e2df40
Add Discord RPC (#161)
* Add discord-rpc submodule

* Add Discord RPC

* Fix up Discord status

* Fix CMake because MacOS sucks

* Slightly less hacky fix
2023-08-08 00:23:39 +03:00
wheremyfoodat
bceaf3b6b7 Rename HTTP server files 2023-07-28 14:21:00 +03:00
wheremyfoodat
3653eb538f Fix struct & class confusion 2023-07-27 12:38:38 +03:00
wheremyfoodat
037d16ae7c
Merge pull request #140 from wheremyfoodat/pause
Add resume/pause button, some hotkeys, more HTTPanda commands
2023-07-26 20:30:47 +03:00
wheremyfoodat
fa6ce2a7f2 Add new HTTP(anda) commands 2023-07-26 20:12:36 +03:00
wheremyfoodat
1107dff9fa Implement pause/resume 2023-07-26 19:29:34 +03:00
wheremyfoodat
eef87da979 Better cheat interface 2023-07-26 03:27:30 +03:00
offtkp
3a21661f45 Refactor http server 2023-07-24 11:43:40 +03:00
wheremyfoodat
97f8ea6cfd Get our first AR code running 2023-07-20 13:50:32 +03:00
wheremyfoodat
0904638df0 [Cheats] Add boilerplate 2023-07-19 20:51:45 +03:00
Wunkolo
2c57936c50 Fix EmulatorConfig initialization order
`config` was being consumed much too early before it has a chance to
call `load`. This caused GPU to read weird uninitialized data, and then
`load` called, and then further initialization to occur based on default
data and the data inside of `config.toml`. `EmulatorConfig` needs to be
loaded in first before any sort of initialization happens, by adding a
new constructor so that it can be initialized sooner.
2023-07-17 10:23:19 -07:00
Wunkolo
ceff20f57f Add configurable Renderer backend
There are still some initialization errors to work through, such as
config not being initialized properly by the time GPU tries to utilize
it too. Also some life-time issues. But manually forcing it to use the
Null backnd successfully works and allows games to be "played"
headlessly.
2023-07-17 10:13:34 -07:00
wheremyfoodat
7b6cd90d36 Cleanup for #98 2023-07-15 04:56:43 +03:00
Wunkolo
4864c51125 Migrate OpenGL specific headers to renderer_gl 2023-07-11 11:28:06 -07:00
Wunkolo
a636a0d1da Replace ENABLE_OPENGL with PANDA3DS_ENABLE_OPENGL 2023-07-11 11:28:06 -07:00
Wunkolo
d664d5caf0 Emulator: Conditional OpenGL compilation 2023-07-11 11:27:04 -07:00
wheremyfoodat
b352309290 Introduce 2 methods of resetting the emulator; with and without reload 2023-07-11 16:17:36 +03:00
wheremyfoodat
3063efaea1 Revert "Merge branch 'master' of https://github.com/SimoneN64/Panda3DS"
This reverts commit 51fb4865ee, reversing
changes made to de2751fb5c.
2023-07-11 02:50:40 +03:00
SimoneN64
7ad47875b6 Should reset the state every time a rom is loaded so the user can keep dragging and dropping roms and it works 2023-07-10 21:27:18 +02:00