Day 24 done.

This commit is contained in:
2026-03-23 20:15:02 -07:00
parent 907d4e9dde
commit e9d0377882
2 changed files with 101 additions and 44 deletions
+7
View File
@@ -30,6 +30,9 @@ typedef struct sdl_sound_output {
void *Samples;
} sdl_sound_output;
/* NOTE: We choose 1024 only because MacOS's MAXPATHLEN says such a value.
* For example, linux/limits.h PATH_MAX says 4096. */
#define SDL_STATE_PATH_SIZE 1024
typedef struct sdl_state {
U64 TotalSize;
void *GameMmemoryBlock;
@@ -37,8 +40,12 @@ typedef struct sdl_state {
S32 RecordingHandle;
S32 InputRecordingIndex;
// NOTE: These functions might be NULL. Check before calling them!
S32 PlaybackHandle;
S32 InputPlayingIndex;
char EXEDirPath[SDL_STATE_PATH_SIZE];
char DLLPath[SDL_STATE_PATH_SIZE];
} sdl_state;
#endif