Make the movie player work somewhat.

THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.

Needs changes to thp.h which should be removed from Aurora, will do that later.

Also audio not implemented yet.
This commit is contained in:
PJB3005
2026-03-28 18:29:58 +01:00
parent 81d0312f2b
commit bb92f955c8
6 changed files with 203 additions and 16 deletions
+5
View File
@@ -111,6 +111,11 @@ int RenderNewAudioFrame() {
outRaw.flush();
#endif
if (JASDriver::extMixCallback != nullptr) {
// TODO: actually mix this data in.
JASDriver::extMixCallback(countSubframes * DSP_SUBFRAME_SIZE);
}
return static_cast<u16>(countSubframes) * DSP_SUBFRAME_SIZE;
}