diff options
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/ntux_driver_ctx.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/driver/ntux_driver_ctx.c b/src/driver/ntux_driver_ctx.c index 370c69b..8445b3e 100644 --- a/src/driver/ntux_driver_ctx.c +++ b/src/driver/ntux_driver_ctx.c @@ -4,13 +4,14 @@ /* Released under GPLv2 and GPLv3; see COPYING.NTUX. */ /***********************************************************/ -#include <ntapi/ntapi.h> -#include <psxscl/psxscl.h> +#include <psxabi/sys_abitypes.h> #include <psxabi/sys_fcntl.h> +#include <psxscl/psxscl.h> + +#include <ntapi/nt_tty.h> #include <stdint.h> #include <ntux/ntux.h> -#include "ntux_init_impl.h" #include "ntux_nolibc_impl.h" #define ARGV_DRIVER @@ -27,9 +28,6 @@ static const nt_tty_affiliation tty_affiliation __attr_section__(".midipix") = NT_TTY_AFFILIATION_DEFAULT; -/* ntapi accessor table */ -const ntapi_vtbl * ntux_ntapi; - /* ntux command names */ static const char * const ntux_cmd_name[NTUX_CMD_CAP] = { [NTUX_CMD_STAT] = "stat", @@ -309,10 +307,6 @@ int ntux_get_driver_ctx( ARGV_MODE_SCAN, 0,0,0,0,0,0,0}; - /* init */ - if (ntux_init()) - return -1; - /* fdctx */ if (!fdctx) { fdctx = &(const struct ntux_fd_ctx) { |