mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 13:47:43 +00:00
Additions to BlenderConnection
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/* Include this file once in the main translation unit of any executable file
|
||||
* using HECL's database functionality (see driver/main.cpp)
|
||||
*/
|
||||
#ifdef DATA_SPEC_REGISTRY_HPP
|
||||
#error DataSpecRegistry.hpp may only be included once
|
||||
#endif
|
||||
#define DATA_SPEC_REGISTRY_HPP
|
||||
|
||||
#include "HECL/Database.hpp"
|
||||
|
||||
namespace HECL
|
||||
@@ -17,6 +25,8 @@ namespace Retro
|
||||
extern HECL::Database::DataSpecEntry SpecEntMP3;
|
||||
}
|
||||
|
||||
/* An overzealous optimizing compiler may not init the specs if
|
||||
* there's no in-code reference.. this is a simple hack to solve that */
|
||||
extern "C" void HECLDataSpecs()
|
||||
{
|
||||
HECL::Printf(Retro::SpecEntMP1.m_name);
|
||||
|
||||
Reference in New Issue
Block a user