don't use void* for rb

This commit is contained in:
Anthony Pesch 2016-07-01 13:50:41 -07:00
parent 0a62b4da9f
commit 2a04bbd7a4
2 changed files with 3 additions and 2 deletions

View File

@ -159,7 +159,7 @@ void dc_keydown(struct dreamcast *dc, enum keycode code, int16_t value) {
} }
} }
struct dreamcast *dc_create(void *rb) { struct dreamcast *dc_create(struct rb *rb) {
struct dreamcast *dc = calloc(1, sizeof(struct dreamcast)); struct dreamcast *dc = calloc(1, sizeof(struct dreamcast));
dc->debugger = OPTION_gdb ? debugger_create(dc) : NULL; dc->debugger = OPTION_gdb ? debugger_create(dc) : NULL;

View File

@ -19,6 +19,7 @@ struct maple;
struct memory; struct memory;
struct nk_context; struct nk_context;
struct pvr; struct pvr;
struct rb;
struct scheduler; struct scheduler;
struct sh4; struct sh4;
struct ta; struct ta;
@ -142,7 +143,7 @@ void dc_paint_menubar(struct dreamcast *dc, struct nk_context *ctx);
void dc_paint_ui(struct dreamcast *dc, struct nk_context *ctx); void dc_paint_ui(struct dreamcast *dc, struct nk_context *ctx);
void dc_keydown(struct dreamcast *dc, enum keycode code, int16_t value); void dc_keydown(struct dreamcast *dc, enum keycode code, int16_t value);
struct dreamcast *dc_create(void *rb); struct dreamcast *dc_create(struct rb *rb);
void dc_destroy(struct dreamcast *dc); void dc_destroy(struct dreamcast *dc);
#endif #endif