Change to not allow configured memory size to go over machine's limit (fixes #25.)

Lots of cleanup changes all over to fix the constness of strings [again].
Some cleanups in config.c to remove old stuff.
This commit is contained in:
waltje
2018-04-10 23:47:58 -04:00
parent d3743d0100
commit 23fcf833b4
50 changed files with 507 additions and 642 deletions

View File

@@ -8,7 +8,7 @@
*
* Definitions for the PCjs JSON floppy image format.
*
* Version: @(#)floppy_json.h 1.0.2 2018/03/17
* Version: @(#)floppy_json.h 1.0.3 2018/04/10
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*
@@ -49,7 +49,7 @@
extern void json_init(void);
extern void json_load(int drive, wchar_t *fn);
extern int json_load(int drive, const wchar_t *fn);
extern void json_close(int drive);