kind of C64
This commit is contained in:
parent
2f7001681c
commit
ff07a19405
6 changed files with 301 additions and 6 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "platform/gb.h"
|
||||
#include "platform/pce.h"
|
||||
#include "platform/nes.h"
|
||||
#include "platform/c64.h"
|
||||
#include "platform/dummy.h"
|
||||
#include <math.h>
|
||||
#include <zlib.h>
|
||||
|
|
@ -760,6 +761,14 @@ bool DivEngine::init() {
|
|||
case DIV_SYSTEM_NES:
|
||||
dispatch=new DivPlatformNES;
|
||||
break;
|
||||
case DIV_SYSTEM_C64_6581:
|
||||
dispatch=new DivPlatformC64;
|
||||
((DivPlatformC64*)dispatch)->setChipModel(true);
|
||||
break;
|
||||
case DIV_SYSTEM_C64_8580:
|
||||
dispatch=new DivPlatformC64;
|
||||
((DivPlatformC64*)dispatch)->setChipModel(false);
|
||||
break;
|
||||
default:
|
||||
logW("this system is not supported yet! using dummy platform.\n");
|
||||
dispatch=new DivPlatformDummy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue