Difference between revisions of "User:Mddass"

From Crash Bandicoot Hacking Wiki
Jump to navigation Jump to search
(Crash 2 Return/Error Codes)
(Crash 2 Return/Error Codes)
Line 52: Line 52:
 
|-
 
|-
 
|0xFFFFFFF1 (-0xF)
 
|0xFFFFFFF1 (-0xF)
|NSD allocation failed.
+
|Memory allocation failed.
 
|
 
|
 
|-
 
|-

Revision as of 21:10, 30 November 2019

testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttest

Crash 2 Return/Error Codes

Engine assumes codes range from 0xFFFFFF01 to 0xFFFFFFFF.

Code Meaning Additional Notes
0xFFFFFF01 (-0xFF) No error.
0xFFFFFF02 (-0xFE) Error finding specified file. "File" includes entries and disc files.
0xFFFFFFE5 (-0x1B) The specified object state is invalid. For example, when an object's subtype corresponds to state 255 (invalid).
0xFFFFFFE6 (-0x1A) Event failed? GOOL interpreter failed?
0xFFFFFFE8 (-0x19) GOOL stack frame update unsuccessful.
0xFFFFFFE8 (-0x18) Object linked list remove unsuccessful.
0xFFFFFFEE (-0x12) Chunk load failed. Wrong magic, invalid page pointer, etc.
0xFFFFFFF0 (-0x10) Unknown. Returned by FUN_80012ed0 and FUN_80013084. Chunk load success?
0xFFFFFFF1 (-0xF) Memory allocation failed.
0xFFFFFFF2 (-0xE) Error initiating object.

Texture load success.

Returned on state change if object status b-flag 0x10000000 is set or if state is 255 (invalid), etc.
0xFFFFFFF6 (-0xA) Tried to find null entry. GetEntry was trying to find "NONE!".