Search found 6 matches

by arasium
Mon Sep 20, 2010 2:22 pm
Forum: devkitPPC
Topic: mallinfo question
Replies: 1
Views: 4025

mallinfo question

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: &q...
by arasium
Thu Feb 25, 2010 6:29 am
Forum: Gamecube/Wii Development
Topic: what about USB_DeviceInsertNotifyAsync ?
Replies: 5
Views: 7772

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
by arasium
Wed Feb 24, 2010 7:33 pm
Forum: Gamecube/Wii Development
Topic: what about USB_DeviceInsertNotifyAsync ?
Replies: 5
Views: 7772

Re: what about USB_DeviceInsertNotifyAsync ?

Yes you're right :D

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)?
by arasium
Wed Feb 24, 2010 10:36 am
Forum: Gamecube/Wii Development
Topic: what about USB_DeviceInsertNotifyAsync ?
Replies: 5
Views: 7772

what about USB_DeviceInsertNotifyAsync ?

All is in the subjet :D
by arasium
Wed Feb 03, 2010 9:57 am
Forum: libfat
Topic: Memory leak in libfat
Replies: 2
Views: 13269

Re: Memory leak in libfat

Please help...

I don't want to use libelm :D Because i've never used it...
by arasium
Fri Jan 29, 2010 1:31 pm
Forum: libfat
Topic: Memory leak in libfat
Replies: 2
Views: 13269

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 std; s...