Change OpenAL include statement to be what CMake docs suggest

Also WIP QEMU-like monitor.
This commit is contained in:
Cacodemon345
2021-08-25 15:17:46 +06:00
parent 7856884a2b
commit 4090b0fac7
2 changed files with 13 additions and 3 deletions

View File

@@ -26,9 +26,9 @@
# undef ALC_API
# define AL_LIBTYPE_STATIC
# define ALC_LIBTYPE_STATIC
# include <al.h>
# include <alc.h>
# include <alext.h>
# include "al.h"
# include "alc.h"
# include "alext.h"
#include <86box/86box.h>
#include <86box/sound.h>
#include <86box/midi.h>

View File

@@ -574,6 +574,16 @@ void mouse_poll()
extern int real_sdl_w, real_sdl_h;
static int exit_event = 0;
void ui_sb_set_ready(int ready) {}
void monitor_thread(void* param)
{
if (isatty(fileno(stdin)) && isatty(fileno(stdout)))
{
printf("86Box monitor console.\n");
}
}
int main(int argc, char** argv)
{
SDL_Event event;