kernel/eka/kernel/win32/cinit.cpp
branchanywhere
changeset 24 18d195b75193
parent 0 a41df078684a
child 51 256ad52425f0
equal deleted inserted replaced
23:9c130f173b89 24:18d195b75193
    42 //
    42 //
    43 	{
    43 	{
    44 	HMODULE h=(HMODULE)aHandle;
    44 	HMODULE h=(HMODULE)aHandle;
    45 	TVariantInitialise f=(TVariantInitialise)Emulator::GetProcAddress(h, (LPCSTR)1);
    45 	TVariantInitialise f=(TVariantInitialise)Emulator::GetProcAddress(h, (LPCSTR)1);
    46 	__KTRACE_OPT(KBOOT,Kern::Printf("Calling Initialise %08x",f));
    46 	__KTRACE_OPT(KBOOT,Kern::Printf("Calling Initialise %08x",f));
    47 	Emul::TheAsic=(*f)(EmulRunExe);
    47 	//SL: Fixed our linkage error
       
    48 	//Emul::TheAsic=(*f)(EmulRunExe);
       
    49 	Emul::TheAsic=(*f)(EFalse);
    48 	__KTRACE_OPT(KBOOT,Kern::Printf("Initialise returned %08x",Emul::TheAsic));
    50 	__KTRACE_OPT(KBOOT,Kern::Printf("Initialise returned %08x",Emul::TheAsic));
    49 	if (!Emul::TheAsic)
    51 	if (!Emul::TheAsic)
    50 		return KErrGeneral;
    52 		return KErrGeneral;
    51 	return KErrNone;
    53 	return KErrNone;
    52 	}
    54 	}