field comments

This commit is contained in:
lif 2024-12-16 01:51:12 -08:00
parent 1a331e8853
commit 00c45406de

4
main.c
View file

@ -33,6 +33,7 @@
#error "unknown pixel format"
#endif
/* state that must be accessible by libmgba camera callbacks */
static SDL_Surface* scaled = NULL;
static SDL_Surface* filtered[NUM_CHANNELS] = { NULL, NULL, NULL };
@ -41,8 +42,10 @@ struct AppState {
SDL_Window* window;
SDL_Renderer* renderer;
/* indices used by SelectCamera */
int cam_idx, spec_idx;
/* used by FlipCamera */
SDL_CameraID front_camera;
SDL_CameraID back_camera;
@ -51,6 +54,7 @@ struct AppState {
SDL_Surface* screens[NUM_CHANNELS];
struct mCore* cores[NUM_CHANNELS];
/* GB button presses fed to mgba */
unsigned keys;
};