Hi everyone.
This code returns me a strange value.
VPAD_Init();
struct mallinfo nfo = mallinfo();
struct mallinfo nfo2;
u32 length = 23801856;
cout << endl << endl << endl << "Memory used: " << nfo.uordblks << endl;
void* ptr = malloc(length);
nfo2 = mallinfo();
cout << "Allocated ...
Search found 6 matches
- Mon Sep 20, 2010 2:22 pm
- Forum: devkitPPC
- Topic: mallinfo question
- Replies: 1
- Views: 5278
- Thu Feb 25, 2010 6:29 am
- Forum: Gamecube/Wii Development
- Topic: what about USB_DeviceInsertNotifyAsync ?
- Replies: 5
- Views: 9381
Re: what about USB_DeviceInsertNotifyAsync ?
In fact y wan't to automatically mount the file system when a device is inserted (like the hbc did when we put an sd).
But if i need to port usb drivers, i will find an other solution (i'm a professional developer, but usb drivers is too dificult to me...).
Thx
But if i need to port usb drivers, i will find an other solution (i'm a professional developer, but usb drivers is too dificult to me...).
Thx
- Wed Feb 24, 2010 7:33 pm
- Forum: Gamecube/Wii Development
- Topic: what about USB_DeviceInsertNotifyAsync ?
- Replies: 5
- Views: 9381
Re: what about USB_DeviceInsertNotifyAsync ?
Yes you're right 
In fact i've found this function is usb.c, but not in the .h.
So is this method valid? Can we use it?
And do we need to pass vid/pid (because w canno't know them in advance)?

In fact i've found this function is usb.c, but not in the .h.
So is this method valid? Can we use it?
And do we need to pass vid/pid (because w canno't know them in advance)?
- Wed Feb 24, 2010 10:36 am
- Forum: Gamecube/Wii Development
- Topic: what about USB_DeviceInsertNotifyAsync ?
- Replies: 5
- Views: 9381
what about USB_DeviceInsertNotifyAsync ?
All is in the subjet 

- Wed Feb 03, 2010 9:57 am
- Forum: libfat
- Topic: Memory leak in libfat
- Replies: 2
- Views: 31114
Re: Memory leak in libfat
Please help...
I don't want to use libelm
Because i've never used it...
I don't want to use libelm

- Fri Jan 29, 2010 1:31 pm
- Forum: libfat
- Topic: Memory leak in libfat
- Replies: 2
- Views: 31114
Memory leak in libfat
Hi everybody,
i've detected a mamory leak in libfat (perhaps this comes from underlayers).
Here is my code to demonstrate that:
#include <ogcsys.h>
#include <iostream>
#include <fat.h>
#include <wiiuse/wpad.h>
#include <sdcard/wiisd_io.h>
#include <cstdlib>
#include <unistd.h>
using namespace ...
i've detected a mamory leak in libfat (perhaps this comes from underlayers).
Here is my code to demonstrate that:
#include <ogcsys.h>
#include <iostream>
#include <fat.h>
#include <wiiuse/wpad.h>
#include <sdcard/wiisd_io.h>
#include <cstdlib>
#include <unistd.h>
using namespace ...