| 271 | } |
| 272 | |
| 273 | void System_Close() |
| 274 | { |
| 275 | for(s32 i = ARRAYSIZE(gRomInitTable) - 1 ; i >= 0; i--) |
| 276 | { |
| 277 | const RomEntityEntry & entry = gRomInitTable[i]; |
| 278 | |
| 279 | if (entry.close == NULL) |
| 280 | continue; |
| 281 | #ifdef DAEDALUS_DEBUG_CONSOLE |
| 282 | DBGConsole_Msg(0, "==>Close %s", entry.name); |
| 283 | #endif |
| 284 | entry.close(); |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | void System_Finalize() |
| 289 | { |
no outgoing calls