Exemple #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);
            stream.readInts(data);
            dataIndex    = stream.readInt();
            endDataIndex = stream.readBoolean();
            error        = stream.readInt();
            base.read(stream);
        }
Exemple #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);
            cmd     = stream.readInt();
            unknown = stream.readInt();
            stream.readInts(parameters);
            result = stream.readInt();
            base.read(stream);
        }
Exemple #3
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);
        }
Exemple #4
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();
            }
Exemple #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();
            }
        }
Exemple #6
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream, FatVirtualFile fatVirtualFile) throws java.io.IOException
        public virtual void read(StateInputStream stream, FatVirtualFile fatVirtualFile)
        {
            parentDirectory = fatVirtualFile.readFatFileInfo(stream);

            // Read the children
            children = null;
            int countChildren = stream.readInt();

            for (int i = 0; i < countChildren; i++)
            {
                FatFileInfo child = fatVirtualFile.readFatFileInfo(stream);
                if (child != null)
                {
                    addChild(child);
                }
            }
        }
Exemple #7
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();
        }
Exemple #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);
            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);
        }
Exemple #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);
            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);
        }
Exemple #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);
            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);
        }