mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 00:05:34 +01:00
576990c5a3
Advantages: * Less confusion for users * No need to build twice to make sure you didn't break something * Easier to switch between the cores for testing Disadvantages: * None, as far as I can tell :) Maybe some extra code complexity, but not much. Also break some include chains that caused <windows.h> to get included into everything, slowing down the build on Windows. There's more to do here though, there's still a lot of files that get it included that don't need it at all. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4891 8ced0084-cf51-0410-be5f-012b33b47a6e
19 lines
435 B
C
19 lines
435 B
C
#ifndef _CDUTILS_H_
|
|
#define _CDUTILS_H_
|
|
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
|
|
// Returns a pointer to an array of strings with the device names
|
|
char **cdio_get_devices();
|
|
|
|
// Free device list returned by cdio_get_devices or
|
|
// cdio_get_devices_with_cap.
|
|
void cdio_free_device_list(char * ppsz_device_list[]);
|
|
|
|
// Returns true if device is cdrom/dvd
|
|
bool cdio_is_cdrom(const char *device);
|
|
|
|
#endif // _CDUTILS_H_
|