Commit Graph

292 Commits

Author SHA1 Message Date
Phillip Stephens 99ee411e8b Fix PADGetRumbleIntensity check 2026-04-25 08:14:01 -07:00
Phillip Stephens 79c0f17bbf Add ability to set rumble intensity for non-gamecube controllers 2026-04-25 08:08:26 -07:00
Luke Street 8d9618dc4b Implement GXPeekZ (#138)
* Implement GXPeekZ

* Limit depth readback to 30hz
2026-04-24 21:55:17 -06:00
Pieter-Jan Briers 9ff83bcb97 Change CARD region based on loaded game disc (#137)
Region selection is based on game code, which isn't strictly correct but good enough for our use case.
2026-04-24 07:21:59 -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 524b683fe0 CMake: Set PROPERTIES FOLDER for all libraries 2026-04-23 20:33:04 -06:00
Luke Street 9363a7470c Fix VSync disable on Metal 2026-04-23 16:40:18 -06:00
Luke Street 63550a8375 Disable per-pixel lighting 2026-04-22 21:48:51 -06:00
Phillip Stephens dedf11fdeb Cleanly shutdown aurora::input by telling all registered controllers to stop their rumble motors (#132) 2026-04-21 19:22:28 -07:00
Luke Street 26da4c6bb0 Better fix for zeroed texture dimensions 2026-04-21 17:39:40 -06:00
Luke Street b524038d75 Fix returning width/height of 1 for empty tex objs 2026-04-21 17:12:13 -06:00
Luke Street ccb9dc1ad7 Add depth copy support 2026-04-21 14:14:02 -06:00
Luke Street c4c5b3f4af Fix texture cache leak with immediate GXDestroyTexObj 2026-04-21 14:13:13 -06:00
Luke Street 63cc5da669 Reduce bind group cache retention & clear on resize 2026-04-21 01:06:16 -06:00
Luke Street 5d420c9f73 Arbitrary mipmap detection & texture cleanup (#131) 2026-04-20 20:33:14 -06:00
Phillip Stephens b1957f10cf Speed up writing empty blocks to memory card image. (#130)
Previously we'd write each block individually, this is extremely slow,
instead let's allocate the entirety of the dummy data and write that all at once.
This gives a considerably speed boost and prevents games from stalling at launch
2026-04-18 21:48:57 -07:00
Phillip Stephens 20a23c7d22 Fix corrupted card on init if card image didn't exist (#129) 2026-04-18 21:27:09 -07:00
Luke Street 672f1e8e5e Update dawn & SDL3 2026-04-18 16:15:40 -06:00
Luke Street 4f8b63bba5 Check the right lightState for alpha channels 2026-04-18 15:57:08 -06: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
Luke Street aa83f6d915 Fix viewport handling with offscreen renders 2026-04-15 22:35:48 -06:00
Phillip Stephens 5d78cd28eb Fix PADHasSensor (#125) 2026-04-15 11:33:07 -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