Potentially fix compile errors for a few libretro ports.

I can't test this, so I don't know for sure if it fixes anything.
This commit is contained in:
Stephen Anthony 2019-09-27 22:58:07 -02:30
parent 91148d299a
commit 9593de911a
1 changed files with 4 additions and 6 deletions

View File

@ -44,14 +44,15 @@ class MT24LC256
Controller::onMessageCallback callback);
~MT24LC256();
private:
public:
// Sizes of the EEPROM
static constexpr uInt32 FLASH_SIZE = 32_KB;
public:
static constexpr uInt32 PAGE_SIZE = 64;
static constexpr uInt32 PAGE_NUM = FLASH_SIZE / PAGE_SIZE;
// Initial state value of flash EEPROM
static constexpr uInt8 INIT_VALUE = 0xff;
/** Read boolean data from the SDA line */
bool readSDA() const { return jpee_mdat && jpee_sdat; }
@ -83,9 +84,6 @@ class MT24LC256
void update();
private:
// Inital state value of flash EEPROM
static constexpr uInt8 INIT_VALUE = 0xff;
// The system of the parent controller
const System& mySystem;