OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5c593b
)
[VM][PC9801][EGC] Fix FTBFS with C++20 ; "error: ISO C++17 does not allow 'register...
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 21 Jul 2021 00:06:52 +0000
(09:06 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 21 Jul 2021 00:06:52 +0000
(09:06 +0900)
source/src/vm/pc9801/egc.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/pc9801/egc.cpp
b/source/src/vm/pc9801/egc.cpp
index
899396f
..
ff98e7f
100644
(file)
--- a/
source/src/vm/pc9801/egc.cpp
+++ b/
source/src/vm/pc9801/egc.cpp
@@
-482,8
+482,8
@@
__DECL_VECTORIZED_LOOP
#if 1
#define EGC_OPE_SHIFTB(addr, value) \
{ \
-
register uint8_t* __p = &(egc_inptr[0]);
\
-
register uint8_t __tmp = (uint8_t)value;
\
+
uint8_t* __p = &(egc_inptr[0]);
\
+
uint8_t __tmp = (uint8_t)value;
\
if(egc_ope & 0x400) { \
__p[ 0] = __tmp; \
__p[ 4] = __tmp; \