Jan Beich
925554b45c
common: add missing header after a02cc7e039
In file included from src/video_core/dma_pusher.cpp:5:
src/./common/cityhash.h:69:47: error: 'size_t' has not been declared
69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len);
| ^~~~~~
src/./common/cityhash.h:73:55: error: 'size_t' has not been declared
73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed);
| ^~~~~~
src/./common/cityhash.h:77:56: error: 'size_t' has not been declared
77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1);
| ^~~~~~
src/./common/cityhash.h:80:47: error: 'size_t' has not been declared
80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len);
| ^~~~~~
src/./common/cityhash.h:84:55: error: 'size_t' has not been declared
84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed);
| ^~~~~~
5 years ago
Morph
c841dcc8cb
hid: Implement GameCube Controller Vibrations
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
5 years ago
Morph
ba79a07519
acc: Stub GetNintendoAccountUserResourceCacheForApplication
This command returns a Nintendo Account ID and writes 2 output buffers. The first output buffer is a NasUserBaseForApplication and the second output buffer is currently empty.
Used by:
- Pokken Tournament DX
- Super Smash Bros. Ultimate
- Super Nintendo Entertainment System - Nintendo Switch Online
- Mario Kart 8 Deluxe
5 years ago
ameerj
0d9fb9ca27
kernel: Fix resource release exception on exit
After rewriting the resource limit, objects releasing reserved resources require a live kernel instance.
This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
5 years ago
Morph
f542011e0c
gl_disk_shader_cache: Log total shader entries count on game load
5 years ago
bunnei
82eb7d8c15
common: wall_clock: Fix integer overflow with StandardWallClock.
- Previous optimized impl. resulted in an integer overflow, so revert.
- This is our slow/fallback path that should never be really be used, so the optimization in unimportant.
5 years ago
bunnei
5dbcaa2970
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
5 years ago
bunnei
c21aa2479a
hle: kernel: Migrate MemoryManager to KMemoryManager.
5 years ago
bunnei
21a22af0c5
hle: kernel: Migrate PageLinkedList to KPageLinkedList.
5 years ago
bunnei
a4c5e6d964
hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.
5 years ago
bunnei
5702047b65
hle: kernel: Migrate SlabHeap to KSlabHeap.
5 years ago
bunnei
8c9e87ab66
hle: kernel: Migrate MemoryLayout to KMemoryLayout.
5 years ago
bunnei
867294d639
hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo.
5 years ago
bunnei
921fd4932f
hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous.
5 years ago
bunnei
f82b15089b
hle: kernel: KSystemControl does not belong in Memory namespace.
5 years ago
bunnei
5a1fe8c70a
hle: kernel: memory: PageHeap: Migrate to KPageBitmap class.
5 years ago
bunnei
cafc6c3707
hle: kernel: Add KPageBitmap class.
5 years ago
bunnei
d072e9b977
hle: kernel: system_control: Add function GenerateRandomU64.
5 years ago
bunnei
954384a84a
common: Add implementation of TinyMT (Mersenne Twister RNG).
5 years ago
bunnei
c51da1b0d5
hle: kernel: Add KSpinLock implementation.
5 years ago
bunnei
a706a6a08e
core: memory: Add templated GetPointer methods.
5 years ago
bunnei
c5df99ea2f
common: alignment: Add DivideUp utility method.
5 years ago
bunnei
f8d8755776
hle: kernel: Rename SharedMemory to KSharedMemory.
5 years ago
Morph
ebf4986174
Revert "Port citra-emu/citra#5123 : "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
5 years ago
ReinUsesLisp
a02cc7e039
common/cityhash: Use common types
Allow sharing return types with the rest of the code base. For example,
we use 'u128 = std::array<u64, 2>', meanwhile Google's code uses
'uint128 = std::pair<u64, u64>'.
While we are at it, use size_t instead of std::size_t.
5 years ago
ReinUsesLisp
58ed3fa9f5
tests: Add tests for CityHash
5 years ago
ReinUsesLisp
76e2d40963
vk_rasterizer: Fix loading shader addresses twice
This was recently introduced on a wrongly rebased commit.
5 years ago
bunnei
1c8d749458
core: core_timing_util: Optimize core timing math.
- Avoids a lot of unnecessary 128-bit math for imperceptible accuracy.
5 years ago
bunnei
a8fbe6493e
common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL instruction.
5 years ago
bunnei
e6f71e15a1
common: Merge uint128 to a single header file with inlines.
5 years ago
Morph
57738090f7
core/CMakeLists: Add web_types.h
5 years ago
Kelebek1
16a5c56b7c
Review 1
5 years ago
Kelebek1
4e04e95a8e
Implement texture offset support for TexelFetch and TextureGather and add offsets for Tlds
Formatting
5 years ago
lat9nq
fb1090fb78
debugger: controller: Add access key
Adds the access key to the Controller P1 selection at View -> Debugger
-> Controller P1. Avoids using the windowTitle as that would add a
literal & to the beginning of the window title.
5 years ago
bunnei
fddde225c5
yuzu: Various frontend improvements to avoid crashes and improve experience on Linux.
5 years ago
bunnei
b950e28dfa
hle: service: ldn: IUserLocalCommunicationService: Improve the stub.
5 years ago
german
47f0b00c9d
Improve mouse panning
5 years ago
bunnei
5fc36d40f8
hle: service: ldn: IUserLocalCommunicationService: Indicate that LDN is disabled.
- Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
5 years ago
bunnei
909c60e51e
hle: service: am: IStorageAccessor: Fix out of bounds error handling.
5 years ago
ReinUsesLisp
ec1854363e
vk_resource_pool: Load GPU tick once and compare with it
Other minor style improvements. Rename free_iterator to hint_iterator,
to describe better what it does.
5 years ago
ReinUsesLisp
7fa30ea272
vk_update_descriptor: Inline and improve code for binding buffers
Allow compilers with our settings inline hot code.
5 years ago
ReinUsesLisp
261380d2b6
fixed_pipeline_cache: Use dirty flags to lazily update key
Use dirty flags to avoid building pipeline key from scratch on each draw
call. This saves a bit of unnecesary work on each draw call.
5 years ago
ameerj
c18cef2a9b
gl_texture_cache: Lazily create non-sRGB texture views for sRGB formats
This creates non-sRGB texture views for sRGB texture formats to allow for interfacing with these views in compute shaders using imageLoad and imageStore.
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
5 years ago
ameerj
01dec35df3
rebase, fix name shadowing, more const
5 years ago
ameerj
c0ccf9eac5
Address PR feedback
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
5 years ago
ameerj
427eca063d
streamline cdma_pusher/command_classes
5 years ago
ameerj
e97cd00753
streamline cdma_pusher/command_classes
5 years ago
ameerj
be6c487b4e
nvdec cleanup
5 years ago
ReinUsesLisp
898de871a9
vk_master_semaphore: Mark gpu_tick atomic operations with relaxed order
5 years ago
ReinUsesLisp
6f5d45aecc
vk_staging_buffer_pool: Inline tick tests
Load the current tick to a local variable, moving it out of an atomic
and allowing us to compare the value without going through a pointer
each time. This should make the loop more optimizable.
5 years ago