This commit is contained in:
vetusmagnus
2026-10-13 20:04:31 -04:00
commit 28916eaf7d
208 changed files with 23516 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/* 0x0023B670: play a movie (src/game/movie/movie.c): (sector, size, buffer,
* player state, language). The Sony sample player it runs (IPU, threads,
* SPU, uncached buffers) is replaced by the host's MPEG-2 player
* (host/src/movie/player.c); the language picks the movie's sound track. */
#include "common.h"
int uya_movie_play_track(u32 lsn, u32 bytes, int track);
s32 func_0023B670(s32 sector, s32 size, s32 buf, s32 state, s32 lang)
{
(void)buf; (void)state;
u32 bytes = (u32)size < 0x40000u ? (u32)size * 2048u : (u32)size; /* the table gives sectors */
uya_movie_play_track((u32)sector, bytes, lang);
return 0;
}