mirror of https://github.com/inolen/redream.git
don't use void* for rb
This commit is contained in:
parent
0a62b4da9f
commit
2a04bbd7a4
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue