File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1174,13 +1174,14 @@ void preinit_machine( struct machine *oric )
11741174 oric -> kbjoy1 [4 ] = SDLK_KP_ENTER ;
11751175 oric -> kbjoy1 [5 ] = SDLK_KP_PLUS ;
11761176 oric -> kbjoy1 [6 ] = SDLK_KP_MINUS ;
1177- oric -> kbjoy2 [0 ] = 'w' ;
1178- oric -> kbjoy2 [1 ] = 's' ;
1179- oric -> kbjoy2 [2 ] = 'a' ;
1180- oric -> kbjoy2 [3 ] = 'd' ;
1181- oric -> kbjoy2 [4 ] = SDLK_SPACE ;
1182- oric -> kbjoy2 [5 ] = 'n' ;
1183- oric -> kbjoy2 [5 ] = SDLK_LALT ;
1177+
1178+ oric -> kbjoy2 [0 ] = 0 ;
1179+ oric -> kbjoy2 [1 ] = 0 ;
1180+ oric -> kbjoy2 [2 ] = 0 ;
1181+ oric -> kbjoy2 [3 ] = 0 ;
1182+ oric -> kbjoy2 [4 ] = 0 ;
1183+ oric -> kbjoy2 [5 ] = 0 ;
1184+ oric -> kbjoy2 [6 ] = 0 ;
11841185
11851186 oric -> drivetype = DRV_NONE ;
11861187 for ( i = 0 ; i < MAX_DRIVES ; i ++ )
@@ -1687,7 +1688,7 @@ void load_patches( struct machine *oric, char *fname )
16871688 sprintf ( tmpname , "%s.pch" , fname );
16881689
16891690 f = fopen ( tmpname , "r" );
1690- free ( tmpname );
1691+ free ( tmpname );
16911692 if ( !f ) return ;
16921693
16931694 while ( !feof ( f ) )
You can’t perform that action at this time.
0 commit comments