Giter VIP home page Giter VIP logo

Comments (5)

diamant3 avatar diamant3 commented on August 13, 2024

I tried this on my PSP 1000(6.60 PRO-C) but unfortunately, it prints Bad thread id too.

from pspsdk.

diamant3 avatar diamant3 commented on August 13, 2024

Hello, Did you already fix this? I tried this again but this time I just set like this to sceKernelCreateThread("thread1", thread1, 0x38, 0xfa0, 0, NULL);, same initial stack size of your callback thread and it works!

Device: PSP 1000(6.60 pro-c)

from pspsdk.

Fewnity avatar Fewnity commented on August 13, 2024

I was able to fix the issue by adding PSP_HEAP_THRESHOLD_SIZE_KB(1024); in my main.cpp
I'm not closing the issue because I think what I found is just a workaround, and there is probably a bug in the sdk.

from pspsdk.

John-K avatar John-K commented on August 13, 2024

I suspect this is due to the default heap being set to only 512KB.

I haven't dug into exactly how all of the allocations happen for the Net stack, but it doesn't seem all that strange to think that you're bumping up against that limit.

I'm not sure if we should change the default here, or if we should add a warning..

from pspsdk.

Fewnity avatar Fewnity commented on August 13, 2024

Maybe change default value and add a warning, because I'm not the only one with this problem. I think both are important. It was annoying to thing a fix and an explaination for this problem

from pspsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.