MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / getLastErrorMessage

Method getLastErrorMessage

external/floppybridge/src/floppybridge_lib.cpp:805–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803 return DRIVER_getDriveTypeID(m_handle);
804}
805const char* FloppyBridgeAPI::getLastErrorMessage() {
806#ifdef _UNICODE
807 _quickw2a(m_error, m_lastErrorAnsi);
808 return m_lastErrorAnsi.c_str();
809#else
810 return m_error;
811#endif
812}
813const FloppyDiskBridge::BridgeDriver* FloppyBridgeAPI::getDriverInfo() {
814 if (BRIDGE_GetDriverInfo(m_driverIndex, &m_driverInfo)) return m_driverInfo;
815 return nullptr;

Callers 2

floppybridge_init2Function · 0.45
BRIDGE_OpenFunction · 0.45

Calls 2

_quickw2aFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected