bool AsgbaInit(AsgbaEvtHdlr hdlr, uint8_t *bios, uint8_t *rom, uint32_t romsz) { PhyMemInit(bios, rom, romsz); InitCpu(); Init_DMA(); Init_INTR(); Init_Display(); Init_Timer(); g_funcOutEvtHdlr = hdlr; return true; }
static void Init_cl_Device_Api() { static bool initialized = false; if(initialized == true) return; initialized = true; clInternalInitializeConfig("opencl_config.xml"); if(clInternalConfigGetPresent("cpu_generic")) InitCpu(); if(clInternalConfigGetPresent("accel_cell")) InitCell(); if(clInternalConfigGetPresent("gpu_nvidia")) InitGpu(); }