Commit Graph
969 Commits
Author SHA1 Message Date
Kenix3 59ce567c77 Resolve merge conflicts. 2024-12-11 22:03:26 -05:00
Kenix3andGitHub ac728a7550 RegisterConfigVersionUpdater -> RegisterVersionUpdater (#746)
Resolves #704
2024-12-11 21:57:38 -05:00
Kenix3andGitHub 6c21df45ee Remove unused Config.IsNewInstance (#747)
Resolves #702
2024-12-11 21:52:49 -05:00
Kenix3 c91c504989 Remove Config.GetFlattenedJson() 2024-12-11 21:50:46 -05:00
Kenix3andGitHub 9b3f67c741 Removes Context.GetConfigFilePath() (#743)
Resolves #713
2024-12-11 21:47:42 -05:00
Kenix3andGitHub 18fa96519e Remove explicit void in functions with no parameters (#744)
Resolves #698
2024-12-11 21:42:55 -05:00
Kenix3andGitHub f81a1dbb58 Fixes name of private functions for ResourceIdentifier in ResourceManager. (#745) 2024-12-11 21:36:52 -05:00
Kenix3andGitHub 275b0d32c9 Uses a struct in in mResourceCache in the ResourceManager. (#740)
* Now uses a struct in ResourceManager cache map key.

* Adds logic to be able to load a raw File from specific Archive via ResourceManager

* Fixes issue of setting the hash function for ResourceCacheData in the incorrect place.

* Remove whitespace in ResourceManager.h

* Changes bind to lambda in LoadResourceAsync.

* clang-format

* Rename ResourceCachdData -> ResourceIdentifier

* Moves Archive to ResourceInitData and renames ResourceIdentifier.LoadArchvie -> Parent

* Removing more whitespace.

* clang-format

* CacheData -> Identifier

* Simplify ArchiveManager.LoadFile

* Caching the hash on construction of ResourceIdentifier.

* clang-format

* ResourceCacheDataHash -> ResourceIdentifierHash

* Uses a better function for combining multiple hashes.

* ResourceIdentifier.GetHash to private.
2024-12-11 21:04:41 -05:00
ArchezandGitHub 27cd261bf4 Add method for Metal to setup imgui for floating windows (#739) 2024-12-10 22:48:04 -05:00
LywxandGitHub c1f84799de Implemented SetMousePos (#738) 2024-12-10 22:00:45 -05:00
ee1c0df9c9 Added mouse api interface (#731)
* Added WIP mouse support

* Fixed compilation

* Added mouse press state

* Fixed tidy

* Added support for mouse capturing (SetMouseCapture)

* Added mouse wheel support

* mouse backward & forward support

* bool IsMouseCaptured()

---------

Co-authored-by: lightmanLP <50497969+lightmanLP@users.noreply.github.com>
2024-12-09 21:29:03 -05:00
MegaMechandGitHub 63513146bf Allow Ports To Configure Default Button Mappings (#724)
* Update ButtonMappingFactory.cpp

* Update AxisDirectionMappingFactory.cpp

* Update cvars.cmake

* Update ButtonMappingFactory.cpp

* As per review

* Add sdl controller mapping

* tidy

* Update cvars.cmake

* Update ButtonMappingFactory.cpp

* tidy
2024-12-09 13:18:25 -05:00
MalkierianandGitHub 1a8f6c0db9 Optimize filtered ListFiles() to only iterate once. (#737)
* Optimize filtered `ListFiles()` to only iterate once.

* Remove "unfiltered" version of ListFiles, and add a default argument value of a blank string.
Use `std::string::empty()` instead of string compare, and remove redundant check.
2024-12-09 12:50:20 -05:00
CaladiusandGitHub 99d78d6138 Update Grayscale8bpp to remove black backgrounds from Digit Textures (#735)
* Update Grayscale8bpp to remove black backgrounds from Digit Textures in SoH

* Adding Grayscale4bpp as well.
2024-12-07 11:40:13 -05:00
coco875andGitHub d252cc241e Update DisplayListFactory.cpp (#734) 2024-12-06 21:14:48 -05:00
ArchezandGitHub 31c800099d Add control for managing framebuffer clearing (#732) 2024-12-06 16:48:32 -05:00
LywxandGitHub 534fd7d8df Changed format on gfx trace (#730)
* Changed format to add more debug

* Fixed format
2024-12-03 13:33:19 -05:00
LywxandGitHub 4a4a54c842 Added simple gfx trace system (#559)
* Rebased

* Fixed tidy

* Fixed tidy again

* Added trace on F3DGwords

* Fixed static_assert to count for Trace

* Wrapped gbi trace into an ifdef

* Fixed tidy
2024-12-01 14:52:57 -05:00
briaguyaandGitHub 5e34a4eb47 multiplayer disconnected controller fixes (#725)
* wip fixes

* remove commented out stuff

* clang format
2024-12-01 13:16:25 -05:00
LywxandGitHub 09aec10779 Fixed ios compilation (#728) 2024-12-01 13:06:28 -05:00
Alejandro Asenjo NittiandGitHub 4810a17e66 Fix for G_TEXTURE_GEN_LINEAR. Authored-by: @DarioSamo (#727) 2024-11-30 10:28:58 -05:00
ArchezandGitHub 80c2c5e9c6 remove unneeded quiet flag in patch command (#722) 2024-11-18 21:21:38 -05:00
EmillandGitHub 9bbf56b913 Fix texture edge with transparent objects (#721)
The "texture edge" mode as it is written in the shader assumes non-transparent objects, or actually that the alpha mask goes around a non-transparent object. Texture edge + transparent objects can be represented with the threshold solution instead.

The transparent balloons in Mario Kart 64 use CVG_X_ALPHA with blender turned on (new colour * alpha + previous colour * (1-alpha)).
2024-11-18 20:51:43 -05:00
ArchezandGitHub bfff9bf131 Execute logic to reset rsp state on ucode load (#719) 2024-11-18 20:28:29 -05:00
balloondude2andGitHub 30eb79b349 Audio Player Updates (#718)
* update to int32_t in AudioPlayer

* move function definitions and remove constexpr
2024-11-09 05:11:15 -05:00