Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - yyyc186

Pages: [1]
1
PS Vita / Re: [Release] Vita Moonlight HD
« on: December 14, 2020, 04:40:23 AM »
Thanks for updating moonlight. I've been working on an issue which occurs when you have a large number of gamestream compatible/steam apps.  For example anything > 200 crashes on connect.

I was able to workaround (aka hack around) the issue by commenting out this:
 if (server_applist != NULL) {
      sort_app_list(server_applist); //sorting alone works but as soon as i count items in the list it fails
     PAPP_LIST list = server_applist;
      while (list) {
      //  while (app_count < bail_count)
       list = list->next;
       vita_debug_log("interating apps: %d\n", app_count2);
       app_count += 1;
      }

and then hardcoding
app_count = 175

and then modifying this section to bail at my hard coded app count

 int bail_count = 1;
      PAPP_LIST list = server_applist;
      while (bail_count <=app_count) {
        MENU_ENTRY(list->id, list->name);
        list = list->next;
        bail_count = bail_count+1;
      }

When I do that then the menu draws and everything works for the first 175 applications only obviously.

I confirmed that my actual app_count is 236 and all of the items are read into using this gs_applist(&server, &server_applist) and the sort method above sorts all 236 of them however it crashes later on.  It isn't clear to me where that later on is exactly. 

I'm happy to help test/try anything to fix.


Pages: [1]