Applied a whole slew of patches, getting RAM usage down by a further 10 MB.

This commit is contained in:
OBattler
2018-03-19 01:02:04 +01:00
parent b6c393cc91
commit b1efb99ed6
222 changed files with 9538 additions and 9980 deletions

View File

@@ -8,15 +8,15 @@
*
* Implementation of the XT-style keyboard.
*
* Version: @(#)keyboard_xt.c 1.0.9 2018/02/24
* Version: @(#)keyboard_xt.c 1.0.10 2018/03/18
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
* Fred N. van Kempen, <decwiz@yahoo.com>
*
* Copyright 2008-2018 Sarah Walker.
* Copyright 2016,2018 Miran Grca.
* Copyright 2018 Fred N. van kempen.
* Copyright 2016-2018 Miran Grca.
* Copyright 2017,2018 Fred N. van kempen.
*/
#include <stdio.h>
#include <stdint.h>
@@ -530,7 +530,7 @@ kbd_reset(void *priv)
static void *
kbd_init(device_t *info)
kbd_init(const device_t *info)
{
xtkbd_t *kbd;
@@ -574,7 +574,7 @@ kbd_close(void *priv)
}
device_t keyboard_xt_device = {
const device_t keyboard_xt_device = {
"PC/XT Keyboard",
0,
0,
@@ -584,7 +584,7 @@ device_t keyboard_xt_device = {
NULL, NULL, NULL, NULL
};
device_t keyboard_tandy_device = {
const device_t keyboard_tandy_device = {
"Tandy 1000 Keyboard",
0,
1,