Something is almost working
This commit is contained in:
23
util/cpustatusui.h
Normal file
23
util/cpustatusui.h
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// Created by bruno on 8.2.2025.
|
||||
//
|
||||
|
||||
#ifndef RISCB_CPUSTATUSUI_H
|
||||
#define RISCB_CPUSTATUSUI_H
|
||||
|
||||
#include "font.h"
|
||||
#include "../cpu/core.h"
|
||||
|
||||
typedef struct {
|
||||
char name[4];
|
||||
uint32_t value;
|
||||
} CPUStatusPart;
|
||||
|
||||
SDL_Texture *renderVals(CPU *cpu, BitmapFont *titleFont, BitmapFont *valueFont,
|
||||
SDL_Renderer *renderer);
|
||||
|
||||
SDL_Texture *renderState(CPU *cpu, BitmapFont *titleFont, SDL_Renderer *renderer);
|
||||
|
||||
void getStats(CPU *cpu, CPUStatusPart **cpuStatus, int *cpuStatusCount);
|
||||
|
||||
#endif //RISCB_CPUSTATUSUI_H
|
Reference in New Issue
Block a user