Device: Add supportsCoreminiScript()

This commit is contained in:
Yasser Yassine
2025-06-06 19:29:42 +00:00
committed by Kyle Schwarz
parent 245073f9d5
commit 33dea748f7
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -181,6 +181,10 @@ public:
return std::nullopt;
}
bool supportsCoreminiScript() const {
return (getCoreminiStartAddressFlash()) || (getCoreminiStartAddressSD());
}
std::optional<MemoryAddress> getCoreminiStartAddress(Disk::MemoryType memType) const {
switch(memType) {
case Disk::MemoryType::Flash: