Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Beats
07-03-2014, 02:01 PM
Post: #8
RE: Beats
It buffers more aggressively. This does mean, it may have not flushed if you quit the game before it logs something else.

Here, I recommend adding another function, like sceDisplaySetFramebuf or something. It will cause it to log things afterward and flush. Probably it could have a flush added on a hook to some exit game funcs....

The difference between the two versions is mainly this:
The original JpcspTrace, whenever possible, writes immediately to log.txt. This is great, but it means EVERY function you track delays the thread. This breaks things, just like if PPSSPP incorrectly delayed threads.
The modified JpcspTrace uses a buffer. If there's free buffer space it doesn't write to the file yet. This does mean, it may have stuff pending to write when you quit.

So it's not perfect but at least it breaks less (at least for me.)

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Beats - BlackDaemon - 12-15-2012, 07:17 PM
RE: Beats - sfageas - 03-25-2013, 12:15 AM
RE: Beats - sfageas - 05-23-2013, 08:52 PM
RE: Beats - GuilhermeGS2 - 11-22-2013, 03:57 PM
RE: Beats - curraja - 01-23-2014, 12:16 AM
RE: Beats - sum2012 - 07-02-2014, 09:56 PM
RE: Beats - sum2012 - 07-03-2014, 11:32 AM
RE: Beats - [Unknown] - 07-03-2014 02:01 PM
RE: Beats - sum2012 - 07-03-2014, 02:53 PM
RE: Beats - [Unknown] - 07-03-2014, 05:30 PM
RE: Beats - sum2012 - 07-03-2014, 07:57 PM
RE: Beats - [Unknown] - 07-04-2014, 06:20 PM
RE: Beats - [Unknown] - 01-04-2015, 08:36 PM
RE: Beats - sum2012 - 01-04-2015, 10:19 PM
RE: Beats - vnctdj - 01-04-2015, 10:26 PM
RE: Beats - KickMeElmo - 07-18-2015, 01:22 AM
RE: Beats - TesseractE - 11-29-2017, 09:49 PM

Forum Jump: