mirror of
https://github.com/DerekK19/PDP-8-E-Simulator.git
synced 2024-05-31 15:41:30 +00:00
Fixed compiler error with Release build (bridge cast for a plugin pointer)
This commit is contained in:
parent
80cc931a18
commit
389e3ce405
|
@ -284,7 +284,7 @@ typedef struct {
|
|||
extern PDP8 *pdp8;
|
||||
#define EXECUTION_TIME(time) (pdp8->_state.executionTime += (time))
|
||||
#if defined(NS_BLOCK_ASSERTIONS)
|
||||
#define PLUGIN_POINTER(plugin) ((plugin *) pdp8->_state.pluginPointer[(pdp8->_state.currInst >> 3) & 077])
|
||||
#define PLUGIN_POINTER(plugin) ((__bridge plugin *) pdp8->_state.pluginPointer[(pdp8->_state.currInst >> 3) & 077])
|
||||
#else
|
||||
#define PLUGIN_POINTER(plugin) ((plugin *) [pdp8 pluginPointer:[plugin class]])
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user