SDL: Rollback to stable revision 9172.

git-svn-id: svn://kolibrios.org@9288 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat
2021-11-19 23:03:24 +00:00
parent 1a964f239f
commit 3fc184a141
13 changed files with 355 additions and 319 deletions

View File

@@ -1,12 +1,11 @@
#include "SDL_audio.h"
#include <SDL_kos.h>
#include <kos32sys.h>
#include <menuet/os.h>
#include <stdlib.h>
#include <string.h>
#include <sound.h>
#include <stdio.h>
extern void SDL_printf(const char * fmt,...);
static void GetNotify(__u32* event)
{
__asm__("int $0x40" :: "a"(68),"b"(14),"c"(event));
@@ -144,7 +143,7 @@ static void audio_thread(void)
}
}
if (bPaused)
__kos__delay100(5);
delay(5);
else
{
GetNotify(event);