mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-27 08:31:03 +00:00
Fix Linux Desktop builds
This commit is contained in:
parent
f3324c0b2b
commit
bc8091cde3
@ -20,6 +20,8 @@
|
|||||||
int64_t (*interface_onTouchEvent)(interface_touch_event_t action, int pointer_count, int pointer_idx, float *x_coords, float *y_coords) = NULL;
|
int64_t (*interface_onTouchEvent)(interface_touch_event_t action, int pointer_count, int pointer_idx, float *x_coords, float *y_coords) = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static char disk_path[PATH_MAX] = { 0 };
|
||||||
|
|
||||||
// 2015/04/12 : This was legacy code for rendering the menu interfaces on desktop Linux. Portions here are resurrected
|
// 2015/04/12 : This was legacy code for rendering the menu interfaces on desktop Linux. Portions here are resurrected
|
||||||
// to render HUD messages on desktop and mobile. Nothing special or pretty here, but has "just worked" for 20+ years ;-)
|
// to render HUD messages on desktop and mobile. Nothing special or pretty here, but has "just worked" for 20+ years ;-)
|
||||||
|
|
||||||
|
@ -73,15 +73,9 @@ void test_common_init(void) {
|
|||||||
int test_setup_boot_disk(const char *fileName, int readonly) {
|
int test_setup_boot_disk(const char *fileName, int readonly) {
|
||||||
int err = 0;
|
int err = 0;
|
||||||
char **path = NULL;
|
char **path = NULL;
|
||||||
const unsigned int pathsCount = 8;
|
#define PATHS_COUNT 8
|
||||||
char *paths[pathsCount + 1] = {
|
char *paths[PATHS_COUNT + 1] = { 0 };
|
||||||
NULL,
|
const char *fmts[PATHS_COUNT + 1] = {
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
};
|
|
||||||
const char *fmts[pathsCount + 1] = {
|
|
||||||
"%s%sdisks/%s",
|
"%s%sdisks/%s",
|
||||||
"%s%sdisks/demo/%s",
|
"%s%sdisks/demo/%s",
|
||||||
"%s%sdisks/blanks/%s",
|
"%s%sdisks/blanks/%s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user