Commit graph

1641 commits

Author SHA1 Message Date
Ishan09811
498d19fa51
keep screen on in `gameactivity` (#450) 2024-03-08 15:27:06 +02:00
wheremyfoodat
048eca557e
Merge pull request #439 from wheremyfoodat/y2r-stubs
Y2R: Stub IsFinishedSending/Receiving functions
2024-03-07 18:17:56 +00:00
wheremyfoodat
d68b81c037
Merge pull request #444 from wheremyfoodat/gsp_read_hw_regs
GSP_GPU: Implement ReadHwRegs
2024-03-07 18:03:21 +00:00
wheremyfoodat
e4bea43fd6
Implement GetResourceLimitValue for thread count (#438) 2024-03-07 19:48:08 +02:00
wheremyfoodat
25d8e5807f
Fix dynarmic submodule (#446)
* Remove dynarmic submodule

* Add dynarmic mirror

* Update oaknut

* Update shader JIT to work with latest oaknut

* Maybe fix oaknut finally

* hlep

* More arm64 shader derps

* Fixing more shader JIT brokenness

* aaaaaaaaaaaa

* Update shader_rec_emitter_arm64.hpp

* Update shader_rec_emitter_arm64.cpp
2024-03-07 19:47:21 +02:00
wheremyfoodat
361172b4de
GSP_GPU: Implement ReadHwRegs 2024-03-07 00:09:41 +00:00
wheremyfoodat
3505bf0df9
Y2R: Stub IsFinishedSending/Receiving functions 2024-03-06 00:37:12 +00:00
wheremyfoodat
5ba773a393 Add GLES detection to fragment shader recompiler 2024-03-03 21:04:12 +02:00
wheremyfoodat
4b07ebed86 Fix shader cache bypassing GL state manager 2024-03-03 01:51:45 +02:00
wheremyfoodat
e5c09a092d Fix specialized shaders on Android 2024-03-02 23:29:22 +02:00
wheremyfoodat
fc83d518e2 Hook up specialized shaders to GL renderer 2024-03-02 22:35:56 +02:00
wheremyfoodat
67fe3214fe Add shader cache 2024-03-02 20:41:23 +02:00
wheremyfoodat
914193a765 Android cleanup and bugfixing 2024-03-01 00:23:12 +02:00
Gabriel Machado
02496b57eb
Pandroid: Screen layout editor (#425)
* Add Dynamic colors option for Android 12 or above  (#8)

* Dynamic color for android 12 or above @Ishan09811

* Revert "Add Dynamic colors option for Android 12 or above  (#8)" (#9)

This reverts commit 6ee1a39fb4.

* Material Switch  (#10) | ISHAN | REVIEW

* Review Material Switch

* basic implement, ds editor, and remake theme selector

* add swap screen in drawer

* basic file provider for access private folder from file explorer

* Pandroid: Game about dialog (#7)

* Alert dialog idea

* Reimplement ishan game dialog.

* Add Picture In Picture support with a option  (#11)

- Ishan picture in picture pr

* some fixes

* Add game to launcher and some clear code.

---------

Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
Co-authored-by: gabriel <gabriel>
2024-02-29 22:06:23 +02:00
wheremyfoodat
fdfb012aa1 GL: Add RendererGL::getSpecializedShader 2024-02-29 01:28:00 +02:00
wheremyfoodat
ddc14cea09 Fix shader compilation errors 2024-02-29 00:56:24 +02:00
wheremyfoodat
58da6ea8a4 Merge branch 'master' into specialized-shaderz 2024-02-28 23:44:33 +02:00
Ishan09811
43dfda0f19
Allows the user to switch between performance and battery saving modes (#422)
* add game_mode_config in mainfest

* add ``game_mode_config``
2024-02-27 09:22:25 +02:00
wheremyfoodat
9d8868cffd
Don't start audio device on resume if audio is disabled 2024-02-25 18:36:35 +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
4b46b6ebf9
Bind input to Lua 2024-02-22 19:41:18 +02:00
wheremyfoodat
85161b08ea
Update lua.cpp 2024-02-22 17:19:33 +02:00
wheremyfoodat
9110176e00
Bind LoadROM to Lua 2024-02-22 17:18:00 +02:00
wheremyfoodat
cc1e7e2162
Bind more Lua functions 2024-02-22 16:47:02 +02:00
wheremyfoodat
6279ed699a
Store program ID and expose it in Lua (#414) 2024-02-22 16:26:31 +02:00
Ishan09811
267b1b3cc8
Add proper proguard rules (#412)
* add proper proguard-rules

* enable apk optimisations

* Android: Remove duplicate proguard rule

* derp

---------

Co-authored-by: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com>
2024-02-21 11:40:19 +02:00
wheremyfoodat
505abbe532
Stub NWM_UDS::Initialize to fail 2024-02-20 21:59:33 +02:00
wheremyfoodat
093364f615
Merge pull request #410 from wheremyfoodat/dsp
WIP: DSP support
2024-02-19 19:34:05 +00:00
wheremyfoodat
f7c6ec3b57 Properly handle DSP interrupts in HLE 2024-02-19 18:50:41 +02:00
wheremyfoodat
7a5bb2859e Make DSP backends properly configurable 2024-02-19 17:57:21 +02:00
wheremyfoodat
33eb096ef8 Better DSP scheduling 2024-02-18 22:22:00 +02:00
wheremyfoodat
f58354af06 Update DSP semaphore on semaphore event signal
Fixes Pokemon X and other DSP-needy games...
2024-02-18 03:54:00 +02:00
wheremyfoodat
d3dc9e2f71 Forward interrupts properly in Teakra DSP core 2024-02-18 00:24:08 +02:00
wheremyfoodat
16a312ee15
Add GSP::GPU::SetBufferSwap 2024-02-17 18:15:06 +02:00
Gabriel Machado
6af4a04987
Pandroid: Storage Access Framework (SAF) (#408) 2024-02-17 18:09:46 +02:00
wheremyfoodat
5dd3c02ffb Moar Teak LLE
Co-Authored-By: PSISP <12768103+psi-rockin@users.noreply.github.com>
2024-02-17 03:48:37 +02:00
wheremyfoodat
363c71e66c Hook DSP interface to DSP service HLE
Co-Authored-By: PSISP <12768103+psi-rockin@users.noreply.github.com>
2024-02-17 01:36:10 +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
3c25be4c63
CPU: Remove totalTicks (unused since scheduler was added) 2024-02-11 21:57:44 +00:00
Ishan09811
51e2ef893c
Android: Split strings into categories (#405) 2024-02-11 21:47:19 +02:00
wheremyfoodat
641c23e58c
Merge pull request #404 from GabrielBRDeveloper/ishan-reviews
MaterialUI: Review ishan pr
2024-02-11 19:03:20 +00:00
gabriel
45bdfd67b1 Review and fix ishan things 2024-02-11 12:26:21 -04:00
wheremyfoodat
adcc9d93e4
Run clang-format 2024-02-11 13:50:50 +02:00
Ishan09811
f37bd9363f
use dialog instead of using toast when a rom is failed to load 2024-02-11 16:57:38 +05:30
wheremyfoodat
a797297105 Android: Toast when ROM fails to load 2024-02-10 18:48:56 +02:00
Ishan09811
3b4960194f
Material UI (#394)
* used material ui in ``holder_game`` + added click effect

* add click effect to use in ``holder_game``

* use material ui in ``dialog_lua_scripts``

* add required imports to use material ui in ``dialog_lua_scripts``

* use material ui in ``holder_lua_script``

* use material ui in ``fragment_game_drawer``

* use material ui in ``fragment_games``

* add appbar with app name + Material EditText

* fix drawarlayout

* remove line divider from ``NavigationView``
2024-02-08 17:38:47 +02:00
wheremyfoodat
10654ce1ca GLSL generator: Add textures and alpha operations 2024-02-04 18:54:29 +02:00
wheremyfoodat
b256c89e23
[APT] Make logs slightly less cluttered for better debugging 2024-02-03 00:14:43 +02:00
Gabriel Machado
74ea66efc5
Pandroid: Fix Navigation bar. (#398)
* fix navbar transparent

* too mutch fixes

- Fix Ui Render in android 7.
- Fix Navigation bar in android 7
- Rename developer option to advanced option.
- Fix crash because setTitle in action bar
- New style for switch button

* bonk

---------

Co-authored-by: gabriel <gabriel>
2024-02-03 00:11:59 +02:00
wheremyfoodat
9dc12e0681 Merge branch 'master' into specialized-shaderz 2024-02-02 22:22:23 +02:00