Fix Linux Desktop builds

This commit is contained in:
Aaron Culliney 2016-09-10 11:07:11 -07:00
parent f3324c0b2b
commit bc8091cde3
2 changed files with 5 additions and 9 deletions

View File

@ -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;
#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
// to render HUD messages on desktop and mobile. Nothing special or pretty here, but has "just worked" for 20+ years ;-)

View File

@ -73,15 +73,9 @@ void test_common_init(void) {
int test_setup_boot_disk(const char *fileName, int readonly) {
int err = 0;
char **path = NULL;
const unsigned int pathsCount = 8;
char *paths[pathsCount + 1] = {
NULL,
NULL,
NULL,
NULL,
NULL,
};
const char *fmts[pathsCount + 1] = {
#define PATHS_COUNT 8
char *paths[PATHS_COUNT + 1] = { 0 };
const char *fmts[PATHS_COUNT + 1] = {
"%s%sdisks/%s",
"%s%sdisks/demo/%s",
"%s%sdisks/blanks/%s",