• R/O
  • HTTP
  • SSH
  • HTTPS

common_source_project-fm7: Commit

Common Source Code Project for Qt (a.k.a for FM-7).


Commit MetaInfo

Revisioncfcc84b947adfaa26ebbfc7edb0b1058dbca1110 (tree)
Time2018-10-14 19:27:28
AuthorK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Log Message

[VM][MCS48] Fix FTBFS.

Change Summary

Incremental Difference

--- a/source/src/vm/device.h
+++ b/source/src/vm/device.h
@@ -58,7 +58,6 @@ class csp_state_utils;
5858
5959 extern CSP_Logger *csp_logger;
6060
61-#include "../statesub.h"
6261 #endif
6362 class DEVICE
6463 {
--- a/source/src/vm/mcs48.cpp
+++ b/source/src/vm/mcs48.cpp
@@ -246,7 +246,7 @@ bool MCS48::process_state(FILEIO* state_fio, bool loading)
246246 state_fio->StateUint8(cpustate->timecount_enabled);
247247 state_fio->StateUint16(cpustate->a11);
248248 state_fio->StateInt32(cpustate->icount);
249- state_fio->StateBuffer(cpustate->rom, 0x1000); // 0x100 ?
249+ state_fio->StateBuffer(cpustate->rom, 0x1000, 1); // 0x100 ?
250250 // END CPUREGS
251251
252252 if(loading) {
Show on old repository browser