The log file works on the emulator but it didn't work on real hardware.
I managed to fix it by changing the smart pointer for a file that opens and closes in the same function. Now it works on emulator and on real hardware.
I tried to make the file open only once and that it can be used many times, just like with the smart pointer, but I couldn't get it to work in the emulator and on a real PS2 at the same time.
Additional Information:
Tested on a PCSX2 1.6.0 emulator
edit: PS2 model 90001
Ulaunchelf 4.43x_isr (mod by israpps)
edit: USB 3.2 DataTraveler Exodia 16GB FAT32
Deleted logFile smart pointer and getLogFile function.
logfile created inside of the statics functions.
The log file works on the emulator but it didn't work on real hardware.
I managed to fix it by changing the smart pointer for a file that opens and closes in the same function. Now it works on emulator and on real hardware.
I tried to make the file open only once and that it can be used many times, just like with the smart pointer, but I couldn't get it to work in the emulator and on a real PS2 at the same time.
Additional Information: Tested on a PCSX2 1.6.0 emulator edit: PS2 model 90001 Ulaunchelf 4.43x_isr (mod by israpps) edit: USB 3.2 DataTraveler Exodia 16GB FAT32
Deleted logFile smart pointer and getLogFile function. logfile created inside of the statics functions.