示例#1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            busy              = stream.readInt();
            interrupt         = stream.readInt();
            inProgress        = stream.readInt();
            flags10           = stream.readInt();
            flags20           = stream.readInt();
            flags24           = stream.readInt();
            flags2C           = stream.readInt();
            volume            = stream.readInt();
            frequency0        = stream.readInt();
            frequency1        = stream.readInt();
            frequencyFlags    = stream.readInt();
            hardwareFrequency = stream.readInt();
            stream.readInts(audioData0);
            stream.readInts(audioData1);
            audioDataIndex0 = stream.readInt();
            audioDataIndex1 = stream.readInt();
            for (int i = 0; i < audioLines.Length; i++)
            {
                audioLines[i].read(stream);
            }
            base.read(stream);
        }
示例#2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            unknown000 = stream.readInt();
            unknown004 = stream.readInt();
            unknown008 = stream.readInt();
            unknown00C = stream.readInt();
            unknown074 = stream.readInt();
            unknown088 = stream.readInt();
            unknown08C = stream.readInt();
            unknown094 = stream.readInt();
            unknown09C = stream.readInt();
            unknown0A0 = stream.readInt();
            unknown0A4 = stream.readInt();
            unknown0AC = stream.readInt();
            unknown0B4 = stream.readInt();
            unknown0B8 = stream.readInt();
            unknown0BC = stream.readInt();
            unknown0C4 = stream.readInt();
            unknown0E4 = stream.readInt();
            unknown0E8 = stream.readInt();
            unknown0F4 = stream.readInt();
            unknown0FC = stream.readInt();
            unknown100 = stream.readInt();
            unknown118 = stream.readInt();
            unknown12C = stream.readInt();
            unknown130 = stream.readInt();
            unknown144 = stream.readInt();
            unknown148 = stream.readInt();
            unknown174 = stream.readInt();
            unknown178 = stream.readInt();
            unknown18C = stream.readInt();
            unknown190 = stream.readInt();
            base.read(stream);
        }
示例#3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
            public virtual void read(StateInputStream stream)
            {
                stream.readVersion(STATE_VERSION);
                rm = stream.readInt();
                c  = stream.readBoolean();
                fs = stream.readBoolean();
            }
示例#4
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readFloats(fpr);
            fcr31.read(stream);
            base.read(stream);
        }
示例#5
0
        /*
         * synchronized method as it is modifying pendingInterruptIPbits which can be updated from different threads
         */
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static synchronized void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public static void read(StateInputStream stream)
        {
            lock (typeof(RuntimeContextLLE))
            {
                stream.readVersion(STATE_VERSION);
                pendingInterruptIPbits = stream.readInt();
            }
        }
示例#6
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readBooleans(interruptTriggered);
            stream.readBooleans(interruptEnabled);
            stream.readBooleans(interruptOccurred);
            base.read(stream);
        }
示例#7
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readInts(data);
            dataIndex    = stream.readInt();
            endDataIndex = stream.readBoolean();
            error        = stream.readInt();
            base.read(stream);
        }
示例#8
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            cmd     = stream.readInt();
            unknown = stream.readInt();
            stream.readInts(parameters);
            result = stream.readInt();
            base.read(stream);
        }
示例#9
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            dumpIoIoctl_0x02125803 = stream.readBytesWithLength();
            position = stream.readLong();
            bool vFilePresent = stream.readBoolean();

            if (vFilePresent)
            {
                openFile();
                vFile.read(stream);
            }

            base.read(stream);
        }
示例#10
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            ports                 = stream.readInt();
            isOutput              = stream.readInt();
            isInputOn             = stream.readInt();
            isInterruptEnabled    = stream.readInt();
            isInterruptTriggered  = stream.readInt();
            isEdgeDetection       = stream.readInt();
            isRisingEdge          = stream.readInt();
            isFallingEdge         = stream.readInt();
            isCapturePort         = stream.readInt();
            isTimerCaptureEnabled = stream.readInt();
            base.read(stream);
        }
示例#11
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            // The handlers are kept sorted based on their base address
            foreach (int?baseAddress in sortedHandlers.Keys)
            {
                IMMIOHandler handler = sortedHandlers[baseAddress];
                handler.read(stream);
                //if (log.DebugEnabled)
                {
                    Console.WriteLine(string.Format("Read State for {0} at 0x{1:X8}", handler, baseAddress));
                }
            }
            CY27040.Instance.read(stream);
            WM8750.Instance.read(stream);
        }
示例#12
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            deviceName = stream.readString();
            dirName    = stream.readString();
            fileName   = stream.readString();
            fileName83 = stream.readString();
            directory  = stream.readBoolean();
            readOnly   = stream.readBoolean();
            int time = stream.readInt();

            if (time == 0)
            {
                lastModified = null;
            }
            else
            {
                lastModified = ScePspDateTime.fromMSDOSTime(time);
            }
            fileSize = stream.readLong();
            clusters = stream.readIntsWithLength();
            fileData = stream.readBytesWithLength();
            closeVirtualFile();
        }
示例#13
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            resetDevices      = stream.readInt();
            busClockDevices   = stream.readInt();
            clock1Devices     = stream.readInt();
            clockDevices      = stream.readInt();
            ioDevices         = stream.readInt();
            ramSize           = stream.readInt();
            tachyonVersion    = stream.readInt();
            usbAndMemoryStick = stream.readInt();
            avcPower          = stream.readInt();
            interrupts        = stream.readInt();
            pllFrequency      = stream.readInt();
            spiClkSelect      = stream.readInt();
            gpioEnable        = stream.readInt();
            ataClkSelect      = stream.readInt();
            unknown00         = stream.readInt();
            unknown3C         = stream.readInt();
            unknown60         = stream.readInt();
            unknown6C         = stream.readInt();
            unknown74         = stream.readInt();
            base.read(stream);
        }
示例#14
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            name    = stream.readString();
            started = stream.readBoolean();
        }
示例#15
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readInts(registers);
        }