Upated some machine files to no longer use the egareads and egawrites variables, should fix compilation.
This commit is contained in:
@@ -81,8 +81,6 @@ typedef struct {
|
||||
typedef rgb_t PALETTE[256];
|
||||
|
||||
|
||||
extern int egareads,
|
||||
egawrites;
|
||||
extern int changeframecount;
|
||||
|
||||
extern volatile int screenshots;
|
||||
|
@@ -300,7 +300,6 @@ vid_write_1512(uint32_t addr, uint8_t val, void *priv)
|
||||
{
|
||||
amsvid_t *vid = (amsvid_t *)priv;
|
||||
|
||||
egawrites++;
|
||||
cycles -= 12;
|
||||
addr &= 0x3fff;
|
||||
|
||||
@@ -319,7 +318,6 @@ vid_read_1512(uint32_t addr, void *priv)
|
||||
{
|
||||
amsvid_t *vid = (amsvid_t *)priv;
|
||||
|
||||
egareads++;
|
||||
cycles -= 12;
|
||||
addr &= 0x3fff;
|
||||
|
||||
|
@@ -201,7 +201,6 @@ uint8_t t3100e_in(uint16_t addr, void *p)
|
||||
void t3100e_write(uint32_t addr, uint8_t val, void *p)
|
||||
{
|
||||
t3100e_t *t3100e = (t3100e_t *)p;
|
||||
egawrites++;
|
||||
|
||||
t3100e->vram[addr & 0x7fff] = val;
|
||||
cycles -= 4;
|
||||
@@ -212,7 +211,6 @@ void t3100e_write(uint32_t addr, uint8_t val, void *p)
|
||||
uint8_t t3100e_read(uint32_t addr, void *p)
|
||||
{
|
||||
t3100e_t *t3100e = (t3100e_t *)p;
|
||||
egareads++;
|
||||
cycles -= 4;
|
||||
|
||||
return t3100e->vram[addr & 0x7fff];
|
||||
|
@@ -221,7 +221,6 @@ vid_write(uint32_t addr, uint8_t val, void *p)
|
||||
|
||||
if (pcjr->memctrl == -1) return;
|
||||
|
||||
egawrites++;
|
||||
pcjr->b8000[addr & 0x3fff] = val;
|
||||
}
|
||||
|
||||
@@ -233,7 +232,6 @@ vid_read(uint32_t addr, void *p)
|
||||
|
||||
if (pcjr->memctrl == -1) return(0xff);
|
||||
|
||||
egareads++;
|
||||
return(pcjr->b8000[addr & 0x3fff]);
|
||||
}
|
||||
|
||||
|
@@ -191,7 +191,6 @@ static uint8_t t1000_in(uint16_t addr, void *p)
|
||||
static void t1000_write(uint32_t addr, uint8_t val, void *p)
|
||||
{
|
||||
t1000_t *t1000 = (t1000_t *)p;
|
||||
egawrites++;
|
||||
|
||||
t1000->vram[addr & 0x3fff] = val;
|
||||
cycles -= 4;
|
||||
@@ -200,7 +199,6 @@ static void t1000_write(uint32_t addr, uint8_t val, void *p)
|
||||
static uint8_t t1000_read(uint32_t addr, void *p)
|
||||
{
|
||||
t1000_t *t1000 = (t1000_t *)p;
|
||||
egareads++;
|
||||
cycles -= 4;
|
||||
|
||||
return t1000->vram[addr & 0x3fff];
|
||||
|
Reference in New Issue
Block a user