field comments
This commit is contained in:
parent
1a331e8853
commit
00c45406de
1 changed files with 4 additions and 0 deletions
4
main.c
4
main.c
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue