src/state.c

changeset 80
9581358e92b0
parent 79
674226015c8a
child 97
240e195e4bed
     1.1 diff -r 674226015c8a -r 9581358e92b0 src/state.c
     1.2 --- a/src/state.c	Wed Dec 29 09:06:17 2010 +0000
     1.3 +++ b/src/state.c	Wed Feb 09 15:03:31 2011 +0000
     1.4 @@ -3,6 +3,7 @@
     1.5  #include <malloc.h>
     1.6  #include <stdio.h>
     1.7  #include "wd279x.h"
     1.8 +#include "keyboard.h"
     1.9  #include "state.h"
    1.10  
    1.11  int state_init(size_t base_ram_size, size_t exp_ram_size)
    1.12 @@ -92,6 +93,8 @@
    1.13  
    1.14  	// Initialise the disc controller
    1.15  	wd2797_init(&state.fdc_ctx);
    1.16 +	// Initialise the keyboard controller
    1.17 +	keyboard_init(&state.kbd);
    1.18  
    1.19  	return 0;
    1.20  }