94 Commits

Author SHA1 Message Date
Jack Andersen
2a463de413 Windows build fixes 2025-04-19 19:53:45 -07:00
Jack Andersen
8017bdf6c8 Better CMake dependency handling 2025-04-19 19:53:41 -07:00
13e6688ed9 Fix raw pointer bug 2025-04-19 19:53:40 -07:00
8c4d6d4210 Prevent garbage data from being written to memcard 2025-04-19 19:53:40 -07:00
Jack Andersen
8ce7a33f65 New code style refactor 2025-04-19 19:53:40 -07:00
Jack Andersen
6479678a82 Add public waitForCompletion method 2025-04-19 19:53:40 -07:00
Jack Andersen
474013b151 Implement Win32 AsyncIO 2025-04-19 19:53:40 -07:00
Jack Andersen
83bf0a47d7 Use asynchronous I/O for Card access 2025-04-19 19:53:39 -07:00
Jack Andersen
1ae9444fe8 Huge compile performance refactor 2025-04-19 19:53:38 -07:00
Jack Andersen
53cd75525b string_view refactor 2025-04-19 19:53:35 -07:00
Jack Andersen
382abc6455 Checksum recalculate fix for getStatus() 2025-04-19 19:53:25 -07:00
Jack Andersen
a1f6ebb4ca Specify binary mode when reopening card file 2025-04-19 19:53:25 -07:00
Jack Andersen
3f7d937a05 Card writing bug fixes 2025-04-19 19:53:25 -07:00
Jack Andersen
aa37daf0f3 More stable index-flipping for write ops 2025-04-19 19:53:25 -07:00
06a19cd1d3 Revert file index 0 avoidance 2025-04-19 19:53:25 -07:00
Jack Andersen
537a8f684d FileHandle refactor 2025-04-19 19:53:25 -07:00
Jack Andersen
e60054ae91 Checksum and Card copy fixes 2025-04-19 19:53:25 -07:00
2bc1904fac Better block allocation handling 2025-04-19 19:53:25 -07:00
Jack Andersen
247eae5913 This had better fix S_ISREG on Windows 2025-04-19 19:53:25 -07:00
Jack Andersen
e185d25292 stat include to make windows happy 2025-04-19 19:53:25 -07:00
Jack Andersen
b76aa3acf9 getStatus and setStatus implementation 2025-04-19 19:53:25 -07:00
Jack Andersen
b6e878f343 Changes to support CMemoryCardSys integration 2025-04-19 19:53:25 -07:00
2a6ed838d4 Fix file copy operation 2025-04-19 19:53:25 -07:00
e4cf066cd6 Proper getSerial implementation 2025-04-19 19:53:25 -07:00
5287818c4f Handle no-copy/no-move permissions 2025-04-19 19:53:25 -07:00
a1beab1181 Formatting pass 2025-04-19 19:53:24 -07:00
Jack Andersen
c75c6c74c5 Add winsupport from hecl 2025-04-19 19:53:20 -07:00
061753f92f Add directory iteration 2025-04-19 19:53:19 -07:00
ce78cefe8d Clarify API usage
IconAddress makes no sense, points to the start of the banner, with the icon directly following,
2025-04-19 19:53:19 -07:00
731682d9a3 Complete base API 2025-04-19 19:53:17 -07:00
1c1f1d9adc Finalize directory structure
Remove unrelated classes from Card.{cpp,hpp}
2025-04-19 19:53:15 -07:00
8fa66b71a7 Fix checksum handling 2025-04-19 19:53:14 -07:00
0292ce4c93 Various fixes, integrity checks, and preparation to include in URDE 2025-04-19 19:53:12 -07:00
c4d91f18a1 Split out display_list/shader_info 2025-04-18 21:52:38 -06:00
357ecba0ae Lighting channel fixes (COLOR1+) 2025-04-15 19:37:18 -06:00
6c27585cf9 Simplify lighting in build_uniform 2025-04-15 09:19:04 -06:00
3bba70d1ff Restore GXColor1x16, GXColor1x8 2025-04-15 09:18:35 -06:00
788c65592f Minor fixes with indexed draw calls 2025-04-14 23:07:50 -07:00
fee77b3d25 Split SI into it's own SDK library 2025-04-14 19:03:47 -07:00
7f3953d3d8 Add missing cfloat header in gx.hpp 2025-04-14 17:32:11 -07:00
4b9bcbb05e Split pad into it's own SDK library with the rest 2025-04-14 17:31:48 -07:00
a600b0b84c Rewrite attribute buffer, matrix & stream handling
Now array attributes (GXSetArray) will be properly
fetched based on the vertex format. Buffers are
still assumed to be byte-swapped to little-endian.

Stream handling completely redone and many issues
resolved.

Eliminates matrix transposes. AURORA_NATIVE_MATRIX
is no longer necessary and removed.
2025-04-14 17:17:59 -06:00
3316ad9a7f Add aurora::mtx lib 2025-04-14 17:17:59 -06:00
dbalatoni13
a18cdf3b59 Include <array> 2025-04-13 15:05:51 +02:00
3b56e337c0 Build fixes for linux and possibly macOS 2025-04-10 13:35:47 -07:00
d9de6603c7 Fix projection depth adjustment (I guess?) 2025-04-07 21:14:37 -06:00
f0c6a1666b Implement most GX attribute stream functions 2025-04-07 20:14:30 -06:00
b3a8be9206 Check for null GXDrawDone callback 2025-04-07 20:13:02 -06:00
1825a80953 Clamp scissor to framebuffer size 2025-04-07 20:12:31 -06:00
e39ffe6429 Fix non-block-aligned texture decoding & TLUT decoding 2025-04-07 20:12:16 -06:00