mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 02:18:20 -07:00
fix compiler warning
This commit is contained in:
@@ -39,6 +39,15 @@
|
||||
|
||||
extern const char* nv3_class_names[];
|
||||
|
||||
/* Object Class 0x01 (real hardware)
|
||||
Beta factor
|
||||
*/
|
||||
typedef struct nv_object_class_001
|
||||
{
|
||||
uint8_t reserved[0xFF]; // Required for NV_CLASS Core Functionality
|
||||
// Put the rest of it here
|
||||
} nv3_beta_factor_t;
|
||||
|
||||
/*
|
||||
Object Class 0x07 (real hardware)
|
||||
0x1E (drivers)
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
*
|
||||
* This file is part of the 86Box distribution.
|
||||
*
|
||||
* JENSEN HUANG APPROVED !!!!
|
||||
* vid_nv3.h: NV3 Architecture Hardware Reference (open-source)
|
||||
* Last updated 1 January 2025 (STILL WORKING ON IT)
|
||||
*
|
||||
*
|
||||
*
|
||||
@@ -15,8 +16,7 @@
|
||||
* Copyright 2024-2025 Connor Hyde
|
||||
*/
|
||||
|
||||
// vid_nv3.h: NV3 Architecture Hardware Reference (open-source)
|
||||
// Last updated 30 December 2024
|
||||
|
||||
|
||||
// The GPU base structure
|
||||
extern const device_config_t nv3_config[];
|
||||
|
||||
@@ -679,7 +679,7 @@ void nv3_svga_out(uint16_t addr, uint8_t val, void* priv)
|
||||
val = (nv3->nvbase.svga.crtc[NV3_CRTC_REGISTER_OVERFLOW] & ~0x10) | (val & 0x10);
|
||||
|
||||
// set the register value...
|
||||
uint8_t old_value = nv3->nvbase.svga.crtc[crtcreg];
|
||||
old_value = nv3->nvbase.svga.crtc[crtcreg];
|
||||
|
||||
nv3->nvbase.svga.crtc[crtcreg] = val;
|
||||
// ...now act on it
|
||||
|
||||
Reference in New Issue
Block a user