Updated ROM BIOS handling to use the external loader.

Several cleanups and fixes here and there.
Updated (Windows) UI to properly handle resets and changes in Settings.
Updated to no longer scan for roms at startup.
This commit is contained in:
waltje
2018-03-02 18:58:18 -05:00
parent 4c10496ae6
commit 227f0446ec
29 changed files with 1315 additions and 1387 deletions

View File

@@ -8,7 +8,7 @@
*
* Define all known video cards.
*
* Version: @(#)vid_table.c 1.0.3 2018/02/22
* Version: @(#)vid_table.c 1.0.4 2018/03/01
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com>
@@ -167,6 +167,22 @@ video_cards[] = {
};
int
video_detect(void)
{
int c, i;
/* Make sure we have a usable video card. */
c = 0;
for (i=0; i<GFX_MAX; i++) {
gfx_present[i] = video_card_available(video_old_to_new(i));
c += gfx_present[i];
}
return(c);
}
void
video_reset(int card)
{