Allow MessageBox to work without window

This commit is contained in:
Francisco Javier Trujillo Mata authored and Sam Lantinga committed 2024-08-23 11:50:00 -07:00
1 parent 0de601dc64
commit 1b8d5631ef
5 files changed
+150 -168

No files matched your search

-7
View File
@@ -39,13 +39,6 @@
#include "SDL_render_psp.h"
/* PSP renderer implementation, based on the PGE */
#define PSP_SCREEN_WIDTH 480
#define PSP_SCREEN_HEIGHT 272
#define PSP_FRAME_BUFFER_WIDTH 512
#define PSP_FRAME_BUFFER_SIZE (PSP_FRAME_BUFFER_WIDTH * PSP_SCREEN_HEIGHT)
static unsigned int __attribute__((aligned(16))) DisplayList[262144];
#define COL5650(r, g, b, a) ((r >> 3) | ((g >> 2) << 5) | ((b >> 3) << 11))
+6
View File
@@ -22,6 +22,12 @@
/* this header is meant to be included after the other related internal SDL
headers. it's the interface between psp renderer and video driver code. */
#define PSP_SCREEN_WIDTH 480
#define PSP_SCREEN_HEIGHT 272
#define PSP_FRAME_BUFFER_WIDTH 512
#define PSP_FRAME_BUFFER_SIZE (PSP_FRAME_BUFFER_WIDTH * PSP_SCREEN_HEIGHT)
enum SDL_PSP_RenderProps
{
SDL_PSP_RENDERPROPS_FRONTBUFFER,