mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
a801671643
* 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
18 lines
564 B
CMake
18 lines
564 B
CMake
add_library(aurora_card STATIC
|
|
lib/card/BlockAllocationTable.cpp
|
|
lib/card/CardRawFile.cpp
|
|
lib/card/CardGciFolder.cpp
|
|
lib/card/Directory.cpp
|
|
lib/card/DolphinCardPath.cpp
|
|
lib/card/File.cpp
|
|
lib/card/FileIO.cpp
|
|
lib/card/SRAM.cpp
|
|
lib/card/Util.cpp
|
|
lib/dolphin/card.cpp
|
|
)
|
|
add_library(aurora::card ALIAS aurora_card)
|
|
set_target_properties(aurora_card PROPERTIES FOLDER "aurora")
|
|
|
|
target_link_libraries(aurora_card PUBLIC aurora::core)
|
|
target_include_directories(aurora_card PRIVATE include)
|