struct v3_frame_buffer_spec *desired_spec,
struct v3_frame_buffer_spec *actual_spec)
{
- V3_ASSERT(graphics_console_hooks != NULL);
- V3_ASSERT(graphics_console_hooks->open != NULL);
+ V3_ASSERT(vm, VCORE_NONE, graphics_console_hooks != NULL);
+ V3_ASSERT(vm, VCORE_NONE, graphics_console_hooks->open != NULL);
return graphics_console_hooks->open(vm->host_priv_data, desired_spec, actual_spec);
}
void v3_graphics_console_close(v3_graphics_console_t cons)
{
- V3_ASSERT(graphics_console_hooks);
- V3_ASSERT(graphics_console_hooks->close);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->close);
graphics_console_hooks->close(cons);
}
void * v3_graphics_console_get_frame_buffer_data_read(v3_graphics_console_t cons, struct v3_frame_buffer_spec *spec)
{
- V3_ASSERT(graphics_console_hooks != NULL);
- V3_ASSERT(graphics_console_hooks->get_data_read != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->get_data_read != NULL);
return graphics_console_hooks->get_data_read(cons, spec);
}
void v3_graphics_console_release_frame_buffer_data_read(v3_graphics_console_t cons)
{
- V3_ASSERT(graphics_console_hooks != NULL);
- V3_ASSERT(graphics_console_hooks->release_data_read != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->release_data_read != NULL);
return graphics_console_hooks->release_data_read(cons);
}
void * v3_graphics_console_get_frame_buffer_data_rw(v3_graphics_console_t cons, struct v3_frame_buffer_spec *spec)
{
- V3_ASSERT(graphics_console_hooks != NULL);
- V3_ASSERT(graphics_console_hooks->get_data_rw != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->get_data_rw != NULL);
return graphics_console_hooks->get_data_rw(cons, spec);
}
void v3_graphics_console_release_frame_buffer_data_rw(v3_graphics_console_t cons)
{
- V3_ASSERT(graphics_console_hooks != NULL);
- V3_ASSERT(graphics_console_hooks->release_data_rw != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->release_data_rw != NULL);
return graphics_console_hooks->release_data_rw(cons);
}
int v3_graphics_console_inform_update(v3_graphics_console_t cons) {
- V3_ASSERT(graphics_console_hooks != NULL);
- V3_ASSERT(graphics_console_hooks->changed != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks != NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->changed != NULL);
return graphics_console_hooks->changed(cons);
}
void *priv_data),
void *priv_data)
{
- V3_ASSERT(graphics_console_hooks!=NULL);
- V3_ASSERT(graphics_console_hooks->register_render_request!=NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks!=NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->register_render_request!=NULL);
return graphics_console_hooks->register_render_request(cons,render_request,priv_data);
}
void *priv_data),
void *priv_data)
{
- V3_ASSERT(graphics_console_hooks!=NULL);
- V3_ASSERT(graphics_console_hooks->register_update_inquire!=NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks!=NULL);
+ V3_ASSERT(VM_NONE, VCORE_NONE, graphics_console_hooks->register_update_inquire!=NULL);
return graphics_console_hooks->register_update_inquire(cons,update_inquire,priv_data);
}
void V3_Init_Graphics_Console(struct v3_graphics_console_hooks * hooks) {
graphics_console_hooks = hooks;
- PrintDebug("V3 graphics console inited\n");
+ PrintDebug(VM_NONE, VCORE_NONE, "V3 graphics console inited\n");
return;
}