Commit Graph

75 Commits

Author SHA1 Message Date
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
Roman Sandu 50163edfe7 OSAlloc impl + some header fixes (#96)
* Small refactors of headers for forest

* OSAlloc implementation
2026-04-05 11:40:38 -06:00
bdamja a440fc86c3 functions for setting SDL window size and position (#95)
* functions for setting sdl window size and position

* vi functions

* unmaximize before resizing

* typo in restore window
2026-04-05 11:38:31 -06:00
Dávid Balatoni b17da31593 Add GXSetTevIndTile to GXBump.h (#90) 2026-04-03 18:14:57 -06:00
Luke Street 33ec54347d Add offscreen rendering support & GXSetTexCopyDst (#89)
* Add offscreen rendering support & GXSetTexCopyDst

* Try to fix alignment for MSVC
2026-04-02 23:01:14 -06:00
Dávid Balatoni c177334a9f Include OSFastCast.h in os.h (#86)
* Include OSFastCast.h in os.h

* Remove some of the existing fastcast implementations from os.h
2026-04-01 22:29:17 -07:00
Dávid Balatoni d298488cbe Add OSFastCast.h (#85) 2026-04-01 23:14:18 -06:00
Dávid Balatoni eb0f548956 Implement C_MTXReorder and C_MTXROMultVecArray (#84)
* Implement C_MTXReorder and C_MTXROMultVecArray

* Fixes

* Add necessary declarations to the header

* Move around and fix declarations
2026-04-01 22:52:19 -06:00
Dávid Balatoni 845aad4047 Use "struct SDL_GamePad*" for C compatibility (#83) 2026-04-01 20:54:18 -07:00
Luke Street 6b9f614d32 Texture refactor (#78)
- Removes special sampling logic from the GX shader in favor of performing conversions using separate draw calls and swizzling
- Simplifies texture bindings
- Much more accurate EFB copy handling (still incomplete but better)
  - Handle copy clears appropriately (color, alpha, depth) + GXSetDstAlpha copies
- Re-enables code for buffered texture uploads
- Adds `lastTextureUploadSize` to AuroraStats
- Use RG8 + swizzle for IA4/IA8
2026-04-01 00:49:28 -06:00
Max Roncace db43a26884 Fix trigger regression and clean up mappings save/load code (#76)
* Fix incorrect variable names in trigger reading

* Clean up controller mappings saving/loading

* Increment version
2026-03-31 18:21:58 -07:00