mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-26 00:31:44 +00:00
Fix building with stricter Android NDK gcc 4.9
This commit is contained in:
parent
1a6c1292f3
commit
35e3d6a969
@ -194,7 +194,7 @@ static SY6522_AY8910 g_MB[NUM_AY8910];
|
||||
|
||||
// Timer vars
|
||||
static unsigned long g_n6522TimerPeriod = 0;
|
||||
static const unsigned int TIMERDEVICE_INVALID = -1;
|
||||
#define TIMERDEVICE_INVALID -1
|
||||
static unsigned int g_nMBTimerDevice = TIMERDEVICE_INVALID; // SY6522 device# which is generating timer IRQ
|
||||
static unsigned long g_uLastCumulativeCycles = 0;
|
||||
|
||||
|
@ -1266,7 +1266,7 @@ bool c_debugger_should_break() {
|
||||
debugger_go () - step into or step over commands
|
||||
------------------------------------------------------------------------- */
|
||||
int debugger_go(stepping_struct_t s) {
|
||||
stepping_struct = s;
|
||||
memcpy(&stepping_struct, &s, sizeof(s));
|
||||
|
||||
int ch = begin_cpu_stepping();
|
||||
|
||||
@ -1281,7 +1281,7 @@ int debugger_go(stepping_struct_t s) {
|
||||
}
|
||||
#endif
|
||||
|
||||
stepping_struct = (stepping_struct_t){ 0 };
|
||||
memset(&stepping_struct, 0x0, sizeof(s));
|
||||
|
||||
return ch;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user