Updated III. Guide of<Critical>log (markdown)

Hermite 2025-02-12 13:33:53 +01:00
parent 3f08c66fc0
commit 67e929cd8b

@ -3,7 +3,7 @@ A**Critical**error in shadPS4 is a major failure that prevents a game from
*** ***
## Assertion Failed (AF) - Detailed Explanation ## AF: Assertion Failed
An **Assertion Failed (AF)** occurs when the program encounters an unexpected situation that violates an internal assumption. Assertions are used in the code to check for conditions that should always be true. When an assertion fails, it indicates that something went wrong, and the emulator cannot proceed further due to the violation of expected behavior. An **Assertion Failed (AF)** occurs when the program encounters an unexpected situation that violates an internal assumption. Assertions are used in the code to check for conditions that should always be true. When an assertion fails, it indicates that something went wrong, and the emulator cannot proceed further due to the violation of expected behavior.
This can happen in various parts of the emulator, such as memory handling, GPU operations, or shader processing. For example, if the emulator tries to access invalid memory or encounters a corrupted data structure, the assertion will fail, causing an error. These issues are often platform-specific and depend on the underlying hardware and software assumptions that the emulator relies on. This can happen in various parts of the emulator, such as memory handling, GPU operations, or shader processing. For example, if the emulator tries to access invalid memory or encounters a corrupted data structure, the assertion will fail, causing an error. These issues are often platform-specific and depend on the underlying hardware and software assumptions that the emulator relies on.
@ -37,7 +37,7 @@ This can happen in various parts of the emulator, such as memory handling, GPU o
*** ***
## Unreachable Code (UC) - Detailed Explanation ## UC: Unreachable Code
An **Unreachable Code (UC)** error occurs when the program encounters a piece of code that cannot be executed under any circumstance. This might be caused by logic flaws in the emulator or issues in the code that prevent certain sections from being reached, like incorrect branching or missing implementation for a specific scenario. Unreachable code in an emulator often indicates incomplete emulation or a misinterpretation of the PS4s architecture. An **Unreachable Code (UC)** error occurs when the program encounters a piece of code that cannot be executed under any circumstance. This might be caused by logic flaws in the emulator or issues in the code that prevent certain sections from being reached, like incorrect branching or missing implementation for a specific scenario. Unreachable code in an emulator often indicates incomplete emulation or a misinterpretation of the PS4s architecture.
In the context of emulators, unreachable code errors can occur when a game makes a request or call that isn't yet supported by the emulator, or the code path has never been properly implemented. Its typically a result of the emulator not recognizing or handling certain game instructions properly, which leads to code paths being skipped over entirely. In the context of emulators, unreachable code errors can occur when a game makes a request or call that isn't yet supported by the emulator, or the code path has never been properly implemented. Its typically a result of the emulator not recognizing or handling certain game instructions properly, which leads to code paths being skipped over entirely.