whoops...

This commit is contained in:
starfrost013
2025-01-12 02:15:22 +00:00
parent c92b90e08d
commit ced6c58616
3 changed files with 11 additions and 3 deletions

View File

@@ -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;

View File

@@ -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)

View File

@@ -14,7 +14,15 @@
*
* Copyright 2024-2025 starfrost
*/
#include <stdio.h>
#include <stdint.h>
#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. */