##### Shinobi Library - Memory Card Function

# buSetProgressCallback

Specifies the progress callback function

### FORMAT

`

  void buSetProgressCallback( func )
  BU_PROGRESSCALLBACK func

`

### PARAMETER

  `func` | Progress callback function address

### RETURN

  None

### DESCRIPTION

  Specifies the progress callback function for that is called while processing is in progress.

### NOTE

  Execute this function during the callback function after initialization is complete.

  The progress callback function is executed in the following situations:

  When an immediate return-type function was called:

  The progress callback function is called each time the writing of one block is completed. Because reading one block in a memory card requires approximately 1 Int and a write requires approximately 5 Int, that is how often the callback function is called.

  When a memory card has been inserted:

  If a memory card is inserted, the system area, FAT, directory entry and other management areas are read. There are a total of 15 blocks of management area that need to be read; reading all of them requires 16 Int.

buSetProgressCallback

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999