File tree 4 files changed +10
-2
lines changed
4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ static inline HWND SDL_GetWindowProperty_HWND(SDL_Window *window)
163
163
static inline void * SDL_GetWindowProperty_HWND (SDL_Window * window )
164
164
{
165
165
return SDL_GetProperty (SDL_GetWindowProperties (window ),
166
- SDL_PROPERTY_WINDOW_WIN32_HWND_POINTER , NULL );
166
+ SDL_PROP_WINDOW_WIN32_HWND_POINTER , NULL );
167
167
}
168
168
#endif /* _WIN32 */
169
169
Original file line number Diff line number Diff line change 56
56
57
57
#ifdef CONFIG_SDL
58
58
#if CONFIG_SDL == 3
59
+ #ifdef _WIN32
60
+ #define WIN32_LEAN_AND_MEAN
61
+ #include <windows.h>
62
+ #endif
59
63
#include <SDL3/SDL_main.h>
60
64
#else
61
65
#include <SDL.h> /* SDL_main */
Original file line number Diff line number Diff line change 82
82
# Coupled with the software renderer, this will disable video in MZX, speeding things up
83
83
# and allowing for automated testing. Disabling the SDL audio driver will prevent annoying
84
84
# noises from occuring during tests, but shouldn't affect audio-related tests.
85
+ # SDL 1.2 and SDL2
85
86
export SDL_VIDEODRIVER=dummy
86
87
export SDL_AUDIODRIVER=dummy
88
+ # SDL3
89
+ export SDL_VIDEO_DRIVER=dummy
90
+ export SDL_AUDIO_DRIVER=dummy
87
91
88
92
# Standalone mode will allow tests.mzx to terminate MZX and no_titlescreen mode
89
93
# simplifies things. Disable auto update checking to save time. Some platforms
Original file line number Diff line number Diff line change 31
31
#include " ../src/io/vio.h"
32
32
33
33
#ifdef CONFIG_SDL
34
- #include < SDL_version.h >
34
+ #include " ../src/SDLmzx.h "
35
35
#endif
36
36
37
37
#ifdef CONFIG_EDITOR
You can’t perform that action at this time.
0 commit comments