Commit Graph

85 Commits

Author SHA1 Message Date
Jasper St. Pierre 1def8fa1ef GXInitTlutObjData (#151) 2026-05-02 12:43:09 -06:00
Phillip Stephens 222545580e Second, hopefully better attempt at key bindings (#147)
* Second, hopefully better attempt at key bindings

* Fix PAD_ERR_NO_CONTROLLER check

* Harden PADRead against null controller pointers

* Move err status assignment
2026-05-01 00:57:47 -06:00
Dávid Balatoni d60916d3fa Remove unused include of string_view (#149)
It messes with C compilation, probably added by accident.
2026-04-30 16:56:44 -07:00
Luke Street a2c431d084 RmlUi: Add a hacky API to adjust input type 2026-04-30 00:05:37 -06:00
Phillip Stephens c77a4d0c3c Only call SDL_SetGamepadLED when colors have been changed, add function to check if a connected controller is a GC controller 2026-04-29 09:14:03 -07:00
CraftyBoss eceac96bcb RmlUi integration (#142)
* begin work on integration

* draw null tex when tex handle is null, switch to immediates for geometry translation

* fix window resizing and texture loads, switch to dynamic ubo

* remove immediate usage

* Add initial rmlui public API

* Use proper dimensions; fix texture resolution

* Remove unnecessary SetDimensions

* Cleanup & add clip mask support

* Implement blur and shadow filters

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-27 23:43:30 -06:00
Luke Street a6a3d3a65a Add GXDestroyCopyTex function (#141) 2026-04-26 14:01:24 -06:00
Phillip Stephens 135e976867 Add ability to set rumble intensity for non-gamecube controllers (#139)
* Add ability to set rumble intensity for non-gamecube controllers

* Fix PADGetRumbleIntensity check
2026-04-25 08:19:10 -07:00
CraftyBoss be1395c134 fix cardProbeFile not working properly with empty card directories, rename enum values in CARDFileType (#136) 2026-04-23 23:26:55 -07:00
CraftyBoss a801671643 Card gci folder update (#135)
* add ability to set path of card image before CARDInit

* begin work on updating card class to support gci folders

a lot of work will just be directly reading from whatever folder is supplied, instead of relying on an always open FileIO handle

* swap to interface system for easier code seperation, begin actually planning out logic for gci loading

* fix wrong name for func, add modified time to new gci file entry

* get gci folder working

tp seems to be happy with everything ive done, the only funcs im worried about are getSerial and getChecksum as those dont do anything atm.

* fix createFile not assigning file index to output FileHandle, CARDSetLoadType now takes an enum

* make probeCardFile a virtual func so GciFolder and RawFile can both implement their own, bit of cleanup
2026-04-23 22:39:42 -07:00
Luke Street c05e7aace1 Viewport scaling rework & IR configuration (#127)
This is a breaking change: `GXSetViewport`, `GXSetScissor`, `GXSetTexCopySrc`, `GXSetTexCopyDst` now accept logical coords relative to the `VIConfigure` EFB size.

`GXSetViewportRender` and `GXSetScissorRender` are used to override the scaled viewport/scissor from the logical coords.
2026-04-18 14:10:32 -06:00
Phillip Stephens c21a7f75ab Add experimental mouse API (#126)
* Add experimental mouse API

* Add aurora::core library for aurora::ms

* Add absl::flat_hash_map library for aurora::ms

* Add comment clarifying MS is an aurora extension

* Clear MSStatus::buttons to prevent spurious values

* Minor cleanup for MSRead and MS_BUTTON_* bits

* Switch to Poll -> Read paradigm

* Clear mouse scroll state before polling for events
2026-04-16 12:57:10 -07:00
Phillip Stephens c17903d53d Add support for Gyros and controller LED colors (#124)
* Add PADGet/SetColor

* PAD Gyro API

* Fix sensor enum
2026-04-15 10:33:42 -07:00
Luke Street 3a268fffa3 Fix _PC texture types 2026-04-11 13:37:32 -06:00
Pieter-Jan Briers 3bedc9950d Allow games to define the default PAD mapping (#111)
* Allow games to define the default PAD mapping

* Use a separate function call instead of adding it to AuroraConfig

* Rename NATIVE_BUTTON_INVALID
2026-04-09 19:03:53 -06:00
Luke Street b1bf531884 FIFOify texture binding (#109)
* FIFOify texture binding

* Use __cntlzw helper

* Some cleanup

* Fix texture eviction & cleanup
2026-04-09 00:14:00 -06:00
Dávid Balatoni f173c876de Remove C++ syntax from card.h and pad.h (#105) 2026-04-07 12:36:06 -07:00
Phillip Stephens 81e43dab4f Use PAD_BUTTON_COUNT and PAD_AXIS_COUNT instead of hard coded magic values (#104) 2026-04-07 11:19:07 -07:00
Phillip Stephens f8fbfea24c Cleanup CARD and silence clang-tidy warnings, closes #102 (#103) 2026-04-07 10:22:17 -07:00
Luke Street 79507b88b9 Add vsync configuration 2026-04-06 23:04:43 -06:00
qwertyquerty c2ea378f3d Get dol pointer helper (#99)
* dol pointer helper

* dvd change

* change signature to use types

* c compatability and remove asserts
2026-04-06 22:18:36 -06:00
Roman Sandu 854ce1c178 Fixes for forest (#101) 2026-04-06 21:12:29 -06:00
Pieter-Jan Briers f61c219ef2 Add functionality to lock GX framebuffer aspect ratio (#97)
* Add functionality to lock GX framebuffer aspect ratio

This leaves the imgui (so including OS) framebuffer alone.

AuroraWindowSize now has new fields for the native framebuffer, the aspect ratio controls modify the existing fields.

* Fix from merge

* fix gx_test_stubs.cpp
2026-04-06 21:05:55 -06:00
Irastris 500d81b22b Implement texture dumping & replacement (#91) 2026-04-06 21:04:01 -06:00
CraftyBoss 5a23bcbd5e Set path of card image before CARDInit (#87)
* add ability to set path of card image before CARDInit

* add missing func to osx/linux variant of ResolveDolphinCardPath

* remove format specifiers in formatting funcs

* missed some oops

* refactor card loading to allow loading slot A and B if present

if neither slots have card images, a slot A image will be created at the save directory
this commit also changes card image names to "MemoryCardA/B.USA.raw" to fit with dolphins naming conventions (region code will always be USA unless changed in the macro, which could eventually be changed to be something in aurora config)

* only remove file name from CARDSetBasePath if not a directory
2026-04-05 23:14:15 -07:00