- [FIX] Fixed carry flag on instructions RL, RR, RLA i RRA

- [FIX] Fixed flag visualization on debugger
- [NEW] Comencem a treballar en el mòdul gbscreen
This commit is contained in:
2025-01-15 17:40:44 +01:00
parent ab77116dca
commit 8b95945798
4 changed files with 407 additions and 12 deletions
+25
View File
@@ -0,0 +1,25 @@
#pragma once
#include <SDL2/SDL.h>
namespace gbscreen
{
void init(int mode);
void reinit();
void focus();
void refresh(const uint32_t dt, const bool full=false);
void fullrefresh();
void debugrefresh();
void redraw(const bool present=true);
void present();
void setTitle(const char* title);
void incZoom();
void decZoom();
void toggleFullscreen();
const bool getFullscreen();
void toggleFullRefresh();
const bool getFullRefresh();
SDL_Renderer *getrenderer();
}