diff --git a/include/em.h b/include/em.h index 3a49e6733..f77f9ae2a 100644 --- a/include/em.h +++ b/include/em.h @@ -47,9 +47,6 @@ /* Size of an extended memory page */ #define EM_PAGE_SIZE 256 -/* Driver constants */ -#define EM_DRV_DETECT 0 - /* Error codes */ #define EM_ERR_OK 0 /* No error */ #define EM_ERR_NO_DRIVER 1 /* No driver available */ @@ -74,9 +71,6 @@ struct em_copy { -unsigned char __fastcall__ em_load (unsigned char driver); -/* Load the extended memory driver and return an error code. */ - unsigned char __fastcall__ em_load_driver (const char* driver); /* Load an extended memory driver and return an error code */ diff --git a/libsrc/em/em_load.c b/libsrc/em/em_load.c index 7eb6a690f..ff9a234a9 100644 --- a/libsrc/em/em_load.c +++ b/libsrc/em/em_load.c @@ -41,14 +41,6 @@ -unsigned char __fastcall__ em_load (unsigned char driver) -/* Load the extended memory driver and return an error code. */ -{ - return EM_ERR_NO_DRIVER; -} - - - unsigned char __fastcall__ em_load_driver (const char* name) /* Load an extended memory driver and return an error code */ {