AT NVR writes now again correctly set NMI mask;

If no VM path is specified or the specified VM path is relative, it is now converted to absolute using exe_path;
Fixed saving path for screenshots when using the DirectDraw renderer.
This commit is contained in:
OBattler
2017-11-24 13:14:09 +01:00
parent ce1bab2967
commit 0009d4a1c3
4 changed files with 35 additions and 15 deletions

View File

@@ -31,6 +31,7 @@
#include "io.h"
#include "device.h"
#include "machine/machine.h"
#include "nmi.h"
#include "nvr.h"
@@ -44,9 +45,7 @@ nvr_write(uint16_t addr, uint8_t val, void *priv)
if (! (addr & 1)) {
nvr->addr = (val & nvr->mask);
#if 0
nvr->nmi_mask = (~val & 0x80);
#endif
nmi_mask = (~val & 0x80);
return;
}