AKuHAK

Results 23 issues of AKuHAK

Codacy warnings fixed ### Description of Changes Currently only first controller correctly handles lights, this pr fixes it ### Rationale behind Changes ### Suggested Testing Steps

PAD: Windows

Faced strange bug, which is not presented in earlier ps2toolchain versions. When I launch the current development build from a USB stick, then I cannot launch apps from the internal...

bug

### Description On Mechacons prior to v6 (FAT ps2), this SCMD returns 0x80, which means it is not supported. The only exception is FAT SCPH-50011 which has some limited behavior....

Enhancement / Feature Request
CDVD
FR: Low Priority
FR: High Complexity

### Description Mechacons before v5 will report 0x81 when calling 0x03:0xFD, which means that this SCMD isn't supported on older Mechacons. For Mechacon after v3 below is the value table....

Enhancement / Feature Request

### Description Currently, if the user has incomplete bios dump without *.mec file, PCSX2 will generate the *.mec file with static value: https://github.com/PCSX2/pcsx2/blob/9094ee0dc61affefacfdad642ddf6d1becb0602c/pcsx2/CDVD/CDVD.cpp#L146 For acting closer to real hardware PCSX2...

Enhancement / Feature Request

### Describe the Bug Some SCMD commands do not initialize properly `cdvd.SCMDResult[0]` . This affects SCMD 0x44, 0x45, 0x0A, 0x0B, 0x12, 0x13, 0x18, 0x37, 0x38, 0x3E, 0x42, 0x43 ### Reproduction...

Bug

Behaviour is the same as in https://github.com/frno7/linux/issues/81 ![20220607_060023](https://user-images.githubusercontent.com/621640/172327525-d2d91ea6-aff6-4f8c-8626-da6442e14b1d.jpg)

The kernel is crashing on PSX DESR after printing that info. After that, it just freezes. ![My_Great_Game_-_My_Great_Capture_2022-05-08_13-48-50](https://user-images.githubusercontent.com/621640/167308957-492d9f75-afdb-4c69-9b85-cae1a79758cd.png) _Originally posted by @AKuHAK in https://github.com/frno7/linux/discussions/73#discussioncomment-2710057_

The kernel is crashing just after `EARLY_PRINTK` is switching into initramfs. Also, the same crash occurs in the pcsx2 in the same place. Don't know if this can be debugged...