If they're just pointers I assume you allocated, so deallocate using free(x), where x is a pointer to the region you'd recently allocated. If your using C++, you can deallocate a region using the delete keyword, and allocate using the new keyword. In C you allocate via malloc method, and deallocate via free. I'm not sure how element::image is allocated, but it probably needsby JeremyWilms - Coding
There's no such definitions(with the net_ prefix) in the networking.h file. Does anyone know if it is possible to make use of this API or know of any similar. I need to get the port & ip binded to a given socket.by JeremyWilms - Coding
Actually, I found some headers in the libogc\include\ogc, mutex.h I'll use that, via including gccore.hby JeremyWilms - Coding
Does the libogc library have anything similar to the windows mutex objects? I need to perform some synchronization between some of my running threads to avoid more then one thread accessing shared memory at once. Thanks.by JeremyWilms - Coding
Thanks again.by JeremyWilms - Homebrew General
What are bannerbricks? I did install homebrew via bannerbomber, is that relevant?by JeremyWilms - Homebrew General
Gah. One more question: I have installed homebrew wii via banner-bomb, and bootmii(which I plan to uninstall, as it's only installed as IOS). Is there any reason I should install a preloader? I do not plan to do anything else, other then play purchased games and execute some home-made projects.by JeremyWilms - Homebrew General
Download devkitpro: This should install a reasonable development environment on a windows machine(Which I assume you're using). If you want to use another IDE you will need to configure it accordingly. There are samples you can look through and the libogc library is setup with the Programmers Notepad IDE. You'll need to install wiiload on your wii, and put the DOL file onto a USby JeremyWilms - Getting Started
Alright, thanks guys. I'll for sure put some time into looking into the wii internals. The low-level parts of a system are always the most interesting. I resolved my blocking sockets issue. Apparently there is no way to take it out of a blocking state(on linux I believe there is, but not universally, so I don't want to use it). Thus I need to close the socket to take it out of a blocby JeremyWilms - Homebrew General
For #3, out of interest, can I ask why I am unable to install it as boot2? 1. Will a system update cause a brick in some cases? 2. How can I assure any alterations to my wii are restored to their factory defaults? 3. After installing the HBC channel, is there any way I can remove it's trace from my system, allowing me to send it in to be repaired, if it ever does become damaged? 4. Isby JeremyWilms - Homebrew General
Sorry for double post, I should mention I've updated my wii firmware to 4.2, unfortunately, so I need to downgrade which may cause bricking apparently.by JeremyWilms - Homebrew General
Okay so first off: I'm programming a networking module for the wii, nearly done however I have a method I wish to use to end a session( a session consists of essentially, a socket + a thread, and other related data, such as pointers to callbacks that handle events, i.e a new connection, and received messages). The problem is when I wish to terminate this thread, I get a pointer to the strucby JeremyWilms - Homebrew General