PIC and Hercules Plus compile warning fixes.

This commit is contained in:
OBattler
2023-08-11 21:02:15 +02:00
parent 6a022039bd
commit 7e76e8b28d
2 changed files with 1 additions and 7 deletions

View File

@@ -236,12 +236,7 @@ pic_update_pending_at(void)
if (!(pic2.flags & PIC_FREEZE)) {
pic2.int_pending = (find_best_interrupt(&pic2) != -1);
// pic_cascade(pic2.int_pending);
if (pic2.int_pending)
pic.irr |= (1 << pic2.icw3);
else
pic.irr &= ~(1 << pic2.icw3);
pic_cascade(pic2.int_pending);
}
if (!(pic.flags & PIC_FREEZE))

View File

@@ -365,7 +365,6 @@ draw_char_ram48(herculesplus_t *dev, int x, uint8_t chr, uint8_t attr)
unsigned olc = 0;
unsigned val;
unsigned ibg;
unsigned ifg = 0;
unsigned cfg;
const unsigned char *fnt;
int cw = HERCULESPLUS_CW;