Skip to content

Commit b1d7c1a

Browse files
authored
Merge pull request #759 from DanielSant0s/fix-libmpeg
fix: restore libmpeg
2 parents 0abdcd5 + b12c5c5 commit b1d7c1a

File tree

3 files changed

+887
-850
lines changed

3 files changed

+887
-850
lines changed

ee/mpeg/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Licenced under Academic Free License version 2.0
77
# Review ps2sdk README & LICENSE files for further details.
88

9-
EE_OBJS = libmpeg.o libmpeg_core_c.o erl-support.o
9+
EE_OBJS = libmpeg.o libmpeg_core.o erl-support.o
1010

1111
include $(PS2SDKSRC)/Defs.make
1212
include $(PS2SDKSRC)/ee/Rules.lib.make

ee/mpeg/samples/mpeg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ static void* InitCB ( void* apParam, MPEGSequenceInfo* apInfo ) {
287287
q++;
288288
PACK_GIFTAG(q, GS_SET_UV( 0, 0 ), GS_REG_UV );
289289
q++;
290-
PACK_GIFTAG(q, GS_SET_XYZ( 0, 0, 0 ), GS_REG_XYZ2 );
290+
PACK_GIFTAG(q, GS_SET_XYZ( (2048 << 4), (2048 << 4), 0 ), GS_REG_XYZ2 );
291291
q++;
292292
PACK_GIFTAG(q, GS_SET_UV( apInfo -> m_Width << 4, apInfo -> m_Height << 4 ), GS_REG_UV );
293293
q++;

0 commit comments

Comments
 (0)