Comments (5)
I tried this on my PSP 1000(6.60 PRO-C) but unfortunately, it prints Bad thread id
too.
from pspsdk.
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.
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.
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.
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)
- Trying to Compile sm-64 port, and I get this error related to the sdk HOT 3
- [ISSUE] SDL2_mixer: undefined reference to `ov_*` HOT 5
- SIO sample firmware version limitation HOT 2
- Remove Corrupt PrxEncrypter from Tools HOT 6
- add a sample for pspge HOT 1
- Header(s) cannot be included warning-free with `-Wundef` HOT 3
- Global/Static variables never initialized HOT 1
- Remove -G0 flag in build_prx.mak ? HOT 2
- Wrong freetype path HOT 2
- sceGeEdramSetSize not working properly HOT 2
- `__retarget_lock_init.o, error: invalid type argument of ‘->’` HOT 6
- Environmental Variables HOT 4
- undefined reference to `sceKernelVolatileMemTryLock' HOT 2
- Missing header in psprtc.h HOT 2
- Missing `remove(const char *path)` HOT 3
- new dependency on pthread-embedded HOT 11
- configure doesn't set default CFLAGS HOT 3
- CMake using the incorect OUTPUT_NAME but stripping. HOT 8
- RFC: failsafe dealing with _PSP_FW_VERSION HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pspsdk.