Change ED64 base folder to be generic

Add feature improvements
This commit is contained in:
Robin Jones 2024-08-30 20:01:03 +01:00
parent c52176db7a
commit 1f273f79e2
5 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,7 @@ SRCS = \
flashcart/64drive/64drive.c \ flashcart/64drive/64drive.c \
flashcart/flashcart_utils.c \ flashcart/flashcart_utils.c \
flashcart/flashcart.c \ flashcart/flashcart.c \
flashcart/ed64x/ed64x.c \ flashcart/ed64/ed64x.c \
flashcart/sc64/sc64_ll.c \ flashcart/sc64/sc64_ll.c \
flashcart/sc64/sc64.c \ flashcart/sc64/sc64.c \
libs/libspng/spng/spng.c \ libs/libspng/spng/spng.c \

View File

@ -48,8 +48,9 @@ static bool ed64x_has_feature (flashcart_features_t feature) {
switch (feature) { switch (feature) {
case FLASHCART_FEATURE_RTC: return is_model_x7 ? true : false; case FLASHCART_FEATURE_RTC: return is_model_x7 ? true : false;
case FLASHCART_FEATURE_USB: return is_model_x7 ? true : false; case FLASHCART_FEATURE_USB: return is_model_x7 ? true : false;
case FLASHCART_FEATURE_AUTO_CIC: return true;
case FLASHCART_FEATURE_64DD: return false; case FLASHCART_FEATURE_64DD: return false;
case FLASHCART_FEATURE_AUTO_CIC: return true;
case FLASHCART_FEATURE_AUTO_REGION: return true;
default: return false; default: return false;
} }
} }

View File

@ -11,7 +11,7 @@
#include "flashcart_utils.h" #include "flashcart_utils.h"
#include "64drive/64drive.h" #include "64drive/64drive.h"
#include "ed64x/ed64x.h" #include "ed64/ed64x.h"
#include "sc64/sc64.h" #include "sc64/sc64.h"