Add mapper 406, together with generic self-flashing code.
This commit is contained in:
committed by
LibretroAdmin
parent
f922972898
commit
a8b7a63536
19
src/boards/flashrom.h
Normal file
19
src/boards/flashrom.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef _FLASHROM_H
|
||||
#define _FLASHROM_H
|
||||
#include "mapinc.h"
|
||||
|
||||
uint8 flashrom_manufacturerID;
|
||||
uint8 flashrom_modelID;
|
||||
int flashrom_state;
|
||||
uint32 flashrom_sectorSize;
|
||||
int flashrom_timeOut;
|
||||
uint32 flashrom_magicAddr1;
|
||||
uint32 flashrom_magicAddr2;
|
||||
uint32 flashrom_magicMask;
|
||||
|
||||
void flashrom_init (uint8, uint8, uint32, uint32, uint32, uint32);
|
||||
uint8 flashrom_read (uint32);
|
||||
void flashrom_write (uint32, uint8);
|
||||
void FP_FASTAPASS(1) flashrom_cpuCycle(int);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user