Commit Graph

10151 Commits

Author SHA1 Message Date
LibretroAdmin
2d67658e85
Merge pull request #129 from libretro/revert-127-vulkan
Revert "Update to upstream"
2024-01-24 06:49:20 -08:00
LibretroAdmin
212e4c7475
Revert "Update to upstream" 2024-01-24 06:47:54 -08:00
LibretroAdmin
0d53ec6258
Merge pull request #127 from zorn-v/vulkan
Update to upstream
2024-01-24 06:40:38 -08:00
zorn
6cf80643e6 Fix mingw build 2023-12-29 07:08:20 +10:00
zorn
0d7eed8bb9 Merge branch 'master' of https://github.com/citra-emu/citra into vulkan 2023-12-28 03:46:16 +10:00
zorn
49be9efcf0 Fix crash on toggle fullscreen 2023-12-28 03:36:41 +10:00
Steveice10
602f4f60d8
boss: Implement some NsData header and read commands. (#7283)
* boss: Implement some NsData header and read commands.

Co-authored-by: Rokkubro <lachlanb03@gmail.com>

* boss: Move opening ext data to common function and improve logging.

---------

Co-authored-by: Rokkubro <lachlanb03@gmail.com>
2023-12-26 09:01:32 -08:00
Steveice10
3113ae6616
cfg: Only select preferred region once per instance. (#7284) 2023-12-26 09:01:16 -08:00
Steveice10
bd4ec251cd
gsp_gpu: Implement TryAcquireRight and stub SetInternalPriorities. (#7285)
* gsp_gpu: Implement TryAcquireRight.

* gsp_gpu: Stub SetInternalPriorities.

* gsp_gpu: Move serialization logic into implementation.

* gsp_gpu: Replace UINT32_MAX with std::numeric_limits<u32>::max().
2023-12-25 08:29:17 -08:00
Daniel López Guimaraes
b6b98af105
cecd: Stub GetCecInfoEventHandleSys (#7278)
This allows usage of the LLE news sysmodule.
2023-12-22 19:52:27 -08:00
James Forward
60a280af24
feat(android-hotkeys): Introduce hotkey support for Android app and add missing hybrid layout (#7241)
* feat(android-hotkeys): Introduce hotkey support for Android app

* android: Fix settings not saving for layout options - screen swap + layout.

* android: Fix `from` method to default to "DEFAULT" if passed an invalid method (and also not be based on ordering)

* android: PR response - name to togglePause
2023-12-22 19:52:12 -08:00
Steveice10
178e602589
misc: Improve defaults for macOS and handling of missing audio backends. (#7273)
* misc: Improve backend defaults for macOS.

* audio_core: Improve handling of missing audio backends.
2023-12-22 11:38:06 -08:00
Daniel López Guimaraes
dccb8f6b17
gamemode: Fix compile issues (#7276)
The Linux build fails to compile because gamemode will try to link
against `common` when it's not needed.
2023-12-22 19:29:44 +05:30
Steveice10
f177433d41
cfg: Set sound mode to stereo by default. (#7268) 2023-12-21 02:34:22 -08:00
Charles Lombardo
71b88c4c1f
android: Disable focus color on input overlay (#7271) 2023-12-21 09:15:08 +01:00
Tobias
c7e9f8449e
Port yuzu-emu/yuzu#11946: "Enable (Feral Interactive) Gamemode on Linux" (#7245) 2023-12-20 06:08:07 -08:00
Steveice10
2e369c03b8
ci: Revert back to unzipped Android artifacts. (#7258) 2023-12-19 18:51:47 -08:00
PabloMK7
a47d8a7b4d
Fix incorrect service name in SOC_U::GetService (#7261) 2023-12-19 08:04:28 -08:00
CasualPokePlayer
02ba5c652b
Add circle_pad_old_* to savestates. (#7250)
This is particularly relavant for TASing, not savestating these values will often cause dropped inputs on loading a savestate, due to the previous old circle pad values being used rather than the ones used during the savestate.
For casual usage, this likely doesn't have much effect compared to the previous code, considering a casual user is probably not likely to care if inputs on the first frame of loading a savestate is dropped or not.
2023-12-19 00:43:44 -08:00
Charles Lombardo
762ddfd07b
Android UI Overhaul Part 4/4 (#7235)
* android: Rework cheats

Reworks cheats to use the navigation component, kotlin, and a tweaked layout for a better tuned look.

* android: Convert remaining files to kotlin and add overlay home button

* android: Remove Picasso dependency

* android: Fix home option layout centering

* android: Adjust logo size in-app
2023-12-17 17:32:30 -08:00
PabloMK7
d680b79725
Implement some missing SOC functionality (#7176)
* Implement some missing SOC functionality

* Add LOG_POLL macro for debugging

* Fix compilation

* Temporary fix for Android

* Temporary fix for Android (for real)

* Apply suggestions

* Add stubbed notice to android sockatmark

* Apply suggestions
2023-12-17 08:50:24 -08:00
GPUCode
2b20082581
common: Miscellaneous cleanups (#7239)
* code: Remove some old msvc workarounds

* android: Upgrade to NDK 26

* Allows access to newer libc++

* common/swap: Make use of std::endian

Allows removing a bunch of defines in favor of a two liner.

* common: Remove misc.cpp

* GetLastErrorMsg has been in error.h for a while and also helps removing a depedency from a hot header like common_funcs

* common: use SetThreadDescription API for thread names

* common: Remove linear disk cache

* Has never been used?

* bit_set: Make constexpr

* ring_buffer: Use feature macro

* bit_set: Use <bit> and concepts

* gsp_gpu: Restore comment

* core: Ignore GCC warning

---------

Co-authored-by: Lioncash <mathew1800@gmail.com>
Co-authored-by: Liam <byteslice@airmail.cc>
2023-12-14 16:26:33 +02:00
Tobias
15ea0c6336
Port yuzu-emu/yuzu#12100: "translations: Add android translations to transifex config" (#7246)
Port of https://github.com/yuzu-emu/yuzu/pull/12100.

Co-authored-by: Charles Lombardo <clombardo169@gmail.com>
2023-12-14 04:57:08 +01:00
Steveice10
9a6d15ab74
ci: Only use Linux clang for app image build. (#7244)
* ci: Only use Linux clang for app image build.

* build: Re-add -Wno-attributes for GCC 11.
2023-12-12 09:48:06 -08:00
zorn
44e485aa48 Add build script for windows 2023-12-10 19:51:05 +10:00
zorn
7dec142f34 Proper notice in build-libretro-android.sh 2023-12-10 01:57:51 +10:00
zorn
0cb0e048a6 Add build bash scripts 2023-12-10 01:34:32 +10:00
zorn
392d40e6d0 Try to build libressl as static lib for android 2023-12-09 19:47:58 +10:00
zorn
be38a65c26 Fix android cmake build 2023-12-09 19:30:16 +10:00
Steveice10
60584e861d
fs: Stub ControlArchive. (#7237) 2023-12-08 23:35:01 -08:00
Steveice10
070853b465
apt: Stub ReplySleepQuery and ReplySleepNotificationComplete. (#7236) 2023-12-08 23:34:54 -08:00
Steveice10
24b5ffbfca
boss: Implement Spotpass service (part 1) (#7232)
* boss: Implement Spotpass service (part 1)

* boss: Fix save state (de)serialization.

* boss: Fix casing of SpotPass in log messages.

* boss: Minor logging improvements.

* common: Add boost serialization support for std::variant.

---------

Co-authored-by: Rokkubro <lachlanb03@gmail.com>
Co-authored-by: FearlessTobi <thm.frey@gmail.com>
2023-12-08 23:34:44 -08:00
zorn
3bde8facd3 Add git commit date to version info 2023-12-09 13:44:01 +10:00
zorn
fbbf169d0d Fix some android errors 2023-12-09 13:17:35 +10:00
zorn
f0f653472d Some android fixes 2023-12-09 04:09:38 +10:00
zorn
ffa61df1a1 Use variables for generated files path in makefile 2023-12-08 16:32:17 +10:00
zorn
55d43b79fe Remove defs for scm_rev from Android.mk 2023-12-08 16:04:08 +10:00
zorn
1bf7c1ddaf Makefile fixed 2023-12-08 15:59:09 +10:00
Wunk
4d9eedd0d8
video_core/vulkan: Add debug object names (#7233)
* vk_platform: Add `SetObjectName`

Creates a name-info struct and automatically deduces the object handle type using vulkan-hpp's handle trait data.
Supports `string_view` and `fmt` arguments.

* vk_texture_runtime: Use `SetObjectName` for surface handles

Names both the image handle and the image-view.

* vk_stream_buffer: Add debug object names

Names the buffer and its device memory based on its size and type.

* vk_swapchain: Set swapchain handle debug names

Identifies the swapchain images themselves as well as the semaphores

* vk_present_window: Set handle debug names

* vk_resource_pool: Set debug handle names

* vk_blit_helper: Set debug handle names

* vk_platform: Use `VulkanHandleType` concept

Use a new `concept`-type rather than `enable_if`-patterns to restrict
this function to Vulkan handle-types only.
2023-12-08 06:58:47 +02:00
zorn
2992407853 Video core deps resolved in makefile 2023-12-08 05:12:08 +10:00
zorn
1d0baea4b0 Resolve dynarmic deps in makefile 2023-12-08 03:04:27 +10:00
zorn
163a637212 Fix makefile typos 2023-12-08 01:02:30 +10:00
zorn
d26a35e12e Fix savestates 2023-12-07 23:57:07 +10:00
zorn
2ef16bc3c1 Properly generate scm_rev.cpp with makefile 2023-12-07 22:28:11 +10:00
zorn
c440f36d08 Makefile remove ffmpeg stuff 2023-12-07 20:42:50 +10:00
zorn
5db1d0bd9e Makefile fix shaders target 2023-12-07 20:39:27 +10:00
zorn
2ba07513c9 Remove github workflow 2023-12-07 15:31:26 +10:00
zorn
a641beb9c5 Restore switch-compat external 2023-12-07 13:59:53 +10:00
zorn
3ff4efde12 Sync android dir with master 2023-12-07 13:52:05 +10:00
zorn
73dcfb734d Cleanup 2023-12-07 03:20:09 +10:00