Merge pull request #3133 from einstein95/pcjr

Make joysticks work with the PCjr
This commit is contained in:
Jasmine Iwanek
2023-02-24 01:34:49 -05:00
committed by GitHub

View File

@@ -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;
}