Jan Beich
71526ecfc7
common: add missing header after f3805376f7
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
ec19a85890
hid: Implement GameCube Controller Vibrations
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
5 years ago
Morph
3de8e7a8f2
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
8e4c9c9852
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
1a5d4d7840
gl_disk_shader_cache: Log total shader entries count on game load
5 years ago
bunnei
3acb265c9e
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
93e20867b0
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
5 years ago
bunnei
b1e27890e8
hle: kernel: Migrate MemoryManager to KMemoryManager.
5 years ago
bunnei
93109c870e
hle: kernel: Migrate PageLinkedList to KPageLinkedList.
5 years ago
bunnei
65e0178cc0
hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.
5 years ago
bunnei
9e520e8f12
hle: kernel: Migrate SlabHeap to KSlabHeap.
5 years ago
bunnei
1d162f28d1
hle: kernel: Migrate MemoryLayout to KMemoryLayout.
5 years ago
bunnei
7ed5dd0d62
hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo.
5 years ago
bunnei
701ef616b2
hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous.
5 years ago
bunnei
f7a008d77f
hle: kernel: KSystemControl does not belong in Memory namespace.
5 years ago
bunnei
6a19086001
hle: kernel: memory: PageHeap: Migrate to KPageBitmap class.
5 years ago
bunnei
a02566136c
hle: kernel: Add KPageBitmap class.
5 years ago
bunnei
e7c33d1ad6
hle: kernel: system_control: Add function GenerateRandomU64.
5 years ago
bunnei
c9235764c7
common: Add implementation of TinyMT (Mersenne Twister RNG).
5 years ago
bunnei
6da91da08e
hle: kernel: Add KSpinLock implementation.
5 years ago
bunnei
24e1e17a8a
core: memory: Add templated GetPointer methods.
5 years ago
bunnei
b5b92fd1e5
common: alignment: Add DivideUp utility method.
5 years ago
bunnei
0d62f30b00
hle: kernel: Rename SharedMemory to KSharedMemory.
5 years ago
Morph
1c550ff954
Revert "Port citra-emu/citra#5123 : "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
5 years ago
ReinUsesLisp
f3805376f7
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
9ca5e52f07
tests: Add tests for CityHash
5 years ago
ReinUsesLisp
24d0cc3ab8
vk_rasterizer: Fix loading shader addresses twice
This was recently introduced on a wrongly rebased commit.
5 years ago
bunnei
f3345e84ad
core: core_timing_util: Optimize core timing math.
- Avoids a lot of unnecessary 128-bit math for imperceptible accuracy.
5 years ago
bunnei
592a649918
common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL instruction.
5 years ago
bunnei
0a91599aec
common: Merge uint128 to a single header file with inlines.
5 years ago
Morph
48cfc47050
core/CMakeLists: Add web_types.h
5 years ago
Kelebek1
9d8f793969
Review 1
5 years ago
Kelebek1
fb54c38631
Implement texture offset support for TexelFetch and TextureGather and add offsets for Tlds
Formatting
5 years ago
lat9nq
6269cd7f1d
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
eae9f2e440
yuzu: Various frontend improvements to avoid crashes and improve experience on Linux.
5 years ago
bunnei
d9a8060ce3
hle: service: ldn: IUserLocalCommunicationService: Improve the stub.
5 years ago
german
594973bdd2
Improve mouse panning
5 years ago
bunnei
51c13606d6
hle: service: ldn: IUserLocalCommunicationService: Indicate that LDN is disabled.
- Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
5 years ago
bunnei
d25011c92f
hle: service: am: IStorageAccessor: Fix out of bounds error handling.
5 years ago
ReinUsesLisp
b8ffdbb167
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
21b40de318
vk_update_descriptor: Inline and improve code for binding buffers
Allow compilers with our settings inline hot code.
5 years ago
ReinUsesLisp
70353649d7
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
c7325c6a4c
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
b675c44e49
rebase, fix name shadowing, more const
5 years ago
ameerj
3c37d66c28
Address PR feedback
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
5 years ago
ameerj
09722cb4a7
streamline cdma_pusher/command_classes
5 years ago
ameerj
77564f987c
streamline cdma_pusher/command_classes
5 years ago
ameerj
ac265a72ce
nvdec cleanup
5 years ago
ReinUsesLisp
dd9caf9aa0
vk_master_semaphore: Mark gpu_tick atomic operations with relaxed order
5 years ago
ReinUsesLisp
6171566296
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