Applied a whole slew of patches, getting RAM usage down by a further 10 MB.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Implementation of PS/2 series Mouse devices.
|
||||
*
|
||||
* Version: @(#)mouse_ps2.c 1.0.5 2017/12/14
|
||||
* Version: @(#)mouse_ps2.c 1.0.6 2018/03/18
|
||||
*
|
||||
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
*/
|
||||
@@ -224,7 +224,7 @@ ps2_poll(int x, int y, int z, int b, void *priv)
|
||||
* We also get called from the various machines.
|
||||
*/
|
||||
void *
|
||||
mouse_ps2_init(device_t *info)
|
||||
mouse_ps2_init(const device_t *info)
|
||||
{
|
||||
mouse_t *dev;
|
||||
int i;
|
||||
@@ -264,7 +264,7 @@ ps2_close(void *priv)
|
||||
}
|
||||
|
||||
|
||||
static device_config_t ps2_config[] = {
|
||||
static const device_config_t ps2_config[] = {
|
||||
{
|
||||
"buttons", "Buttons", CONFIG_SELECTION, "", 2, {
|
||||
{
|
||||
@@ -287,7 +287,7 @@ static device_config_t ps2_config[] = {
|
||||
};
|
||||
|
||||
|
||||
device_t mouse_ps2_device = {
|
||||
const device_t mouse_ps2_device = {
|
||||
"Standard PS/2 Mouse",
|
||||
0,
|
||||
MOUSE_TYPE_PS2,
|
||||
|
||||
Reference in New Issue
Block a user