From c7dd356f7f3e93df13a4ae11a1f2a5a86798dce6 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Mon, 29 Sep 2003 20:31:47 +0000 Subject: [PATCH] VSLNewInterruptService() returns a serviceID in big endian format --- SheepShaver/src/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/video.cpp b/SheepShaver/src/video.cpp index c3e076d8..517fb16c 100644 --- a/SheepShaver/src/video.cpp +++ b/SheepShaver/src/video.cpp @@ -169,7 +169,7 @@ static int16 VideoOpen(uint32 pb, VidLocals *csSave) // Install and activate interrupt service uint32 theServiceID = 0; VSLNewInterruptService(csSave->regEntryID, FOURCC('v','b','l',' '), &theServiceID); - csSave->vslServiceID = theServiceID; + csSave->vslServiceID = ntohl(theServiceID); D(bug(" Interrupt ServiceID %08lx\n", csSave->vslServiceID)); csSave->interruptsEnabled = true;