mirror of
https://github.com/cmosher01/v6502cpp.git
synced 2026-01-23 05:16:05 +00:00
refactor: add TransCache
This commit is contained in:
13
TransCache.cpp
Normal file
13
TransCache.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* File: TransCache.cpp
|
||||
* Author: Christopher
|
||||
*
|
||||
* Created on December 15, 2013, 1:39 PM
|
||||
*/
|
||||
|
||||
#include "TransCache.h"
|
||||
#include "trans.h"
|
||||
|
||||
void TransCache::add(Segment* c1, Segment* gate, Segment* c2) {
|
||||
this->cache.insert(std::make_shared<Trans>(c1,gate,c2));
|
||||
}
|
||||
Reference in New Issue
Block a user