Changeset 62165 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Jul 11, 2016 4:24:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuload.c
r52437 r62165 109 109 } 110 110 111 bool fNeedSuperSPU = false; 111 112 /* This basically calls the SPU's SPULoad() function */ 112 113 if (!the_spu->entry_point( &(the_spu->name), &(the_spu->super_name), … … 129 130 } 130 131 the_spu->superSPU = crSPULoad( child, id, the_spu->super_name, dir, server ); 132 fNeedSuperSPU = true; 131 133 } 132 134 #else … … 139 141 } 140 142 the_spu->superSPU = crSPULoad( child, id, the_spu->super_name, dir, server ); 143 fNeedSuperSPU = true; 141 144 } 142 145 #endif … … 144 147 { 145 148 the_spu->superSPU = NULL; 149 } 150 if (fNeedSuperSPU && !the_spu->superSPU) 151 { 152 crError( "Unable to load super SPU \"%s\" of \"%s\"!", the_spu->super_name, name ); 153 crSPUUnloadChain(the_spu); 154 return NULL; 146 155 } 147 156 crDebug("Initializing %s SPU", name);
Note:
See TracChangeset
for help on using the changeset viewer.