mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 09:42:47 -05:00
Make joysticks work with the PCjr
This commit is contained in:
parent
5399fc7abf
commit
63ed285b86
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
#include <86box/pit.h>
|
||||
#include <86box/mem.h>
|
||||
#include <86box/device.h>
|
||||
#include <86box/gameport.h>
|
||||
#include <86box/serial.h>
|
||||
#include <86box/keyboard.h>
|
||||
#include <86box/rom.h>
|
||||
|
@ -815,5 +816,8 @@ machine_pcjr_init(const machine_t *model)
|
|||
device_add(&ns8250_pcjr_device);
|
||||
serial_set_next_inst(SERIAL_MAX); /* So that serial_standalone_init() won't do anything. */
|
||||
|
||||
/* "All the inputs are 'read' with one 'IN' from address hex 201." - PCjr Technical Reference (Nov. 83), p.2-119 */
|
||||
standalone_gameport_type = &gameport_201_device;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue