diff --git a/src/86box.c b/src/86box.c index 560bd0a3d..8450c8b6b 100644 --- a/src/86box.c +++ b/src/86box.c @@ -395,7 +395,7 @@ pclog_ex_cyclic(const char* fmt, va_list ap) // 'Replay' the last few log entries so they actually show up // Todo: is this right? - for (uint32_t index = cyclic_last_line - 1; index > (cyclic_last_line - repeat_order); cyclic_last_line--) + for (uint32_t index = cyclic_last_line - 1; index > (cyclic_last_line - repeat_order); index--) { // *very important* to prevent out of bounds index uint32_t real_index = index % LOG_SIZE_BUFFER_CYCLIC_LINES; diff --git a/src/include/86box/nv/vid_nv3.h b/src/include/86box/nv/vid_nv3.h index b1d7556f6..15efb9562 100644 --- a/src/include/86box/nv/vid_nv3.h +++ b/src/include/86box/nv/vid_nv3.h @@ -809,7 +809,7 @@ typedef struct nv3_pgraph_s uint32_t plane_mask; // only 7:0 relevant nv3_color_x3a10g10b10_t chroma_key; // color key nv3_pgraph_dma_settings_t dma_settings; - + uint32_t beta_factor; } nv3_pgraph_t; // GPU Manufacturing Configuration (again) diff --git a/src/video/nv/nv3/classes/nv3_class_names.c b/src/video/nv/nv3/classes/nv3_class_names.c index 3124f727c..2b38afbb4 100644 --- a/src/video/nv/nv3/classes/nv3_class_names.c +++ b/src/video/nv/nv3/classes/nv3_class_names.c @@ -14,7 +14,15 @@ * * Copyright 2024-2025 starfrost */ - +#include +#include +#include <86Box/86box.h> +#include <86Box/device.h> +#include <86Box/mem.h> +#include <86box/pci.h> +#include <86Box/rom.h> // DEPENDENT!!! +#include <86Box/video.h> +#include <86box/nv/vid_nv.h> #include <86Box/nv/vid_nv3.h> /* These are the object classes AS RECOGNISED BY THE GRAPHICS HARDWARE. */