Fix most of the warnings in the macos builds

This commit is contained in:
Jasmine Iwanek
2023-12-17 15:34:18 -05:00
parent 4c87164692
commit 8e74ee2726
3 changed files with 2 additions and 4 deletions

View File

@@ -489,12 +489,10 @@ static void
ali5229_ide_irq_handler(ali1543_t *dev) ali5229_ide_irq_handler(ali1543_t *dev)
{ {
int ctl = 0; int ctl = 0;
int ch = 0;
int bit = 0; int bit = 0;
if (dev->ide_conf[0x52] & 0x10) { if (dev->ide_conf[0x52] & 0x10) {
ctl ^= 1; ctl ^= 1;
ch ^= 1;
bit ^= 5; bit ^= 5;
} }

View File

@@ -88,7 +88,7 @@ RendererCommon::onResize(int width, int height)
if (video_fullscreen_scale == FULLSCR_SCALE_INT43) { if (video_fullscreen_scale == FULLSCR_SCALE_INT43) {
gh = gw / r43; gh = gw / r43;
gw = gw; // gw = gw;
gsr = r43; gsr = r43;
} }