Add option for CRT shader (#314)

* add CRT shader

* more

* more

* update type

* more

* more

* more

* more
This commit is contained in:
Logan McNaughton
2025-03-10 16:52:25 +01:00
committed by GitHub
parent 67a8bb5e4c
commit e93c275795
10 changed files with 1136 additions and 41 deletions
+6 -2
View File
@@ -18,6 +18,10 @@ extern "C"
uint32_t *DPC_STATUS_REG;
bool PAL;
bool widescreen;
bool fullscreen;
bool integer_scaling;
uint32_t upscale;
bool crt;
} GFX_INFO;
typedef struct
@@ -28,13 +32,13 @@ extern "C"
bool enable_speedlimiter;
} CALL_BACK;
void rdp_init(void *_window, GFX_INFO _gfx_info, uint32_t _upscale, bool _integer_scaling, bool _fullscreen);
void rdp_init(void *_window, GFX_INFO _gfx_info);
void rdp_close();
void rdp_set_vi_register(uint32_t reg, uint32_t value);
void rdp_update_screen();
CALL_BACK rdp_check_callback();
uint64_t rdp_process_commands();
void rdp_new_processor(GFX_INFO _gfx_info, uint32_t _upscale);
void rdp_new_processor(GFX_INFO _gfx_info);
void rdp_check_framebuffers(uint32_t address);
void rdp_full_sync();