summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/smartwatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/smartwatch.cpp')
-rw-r--r--src/devices/bus/cpc/smartwatch.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/devices/bus/cpc/smartwatch.cpp b/src/devices/bus/cpc/smartwatch.cpp
index bd039c40735..272b7ca953e 100644
--- a/src/devices/bus/cpc/smartwatch.cpp
+++ b/src/devices/bus/cpc/smartwatch.cpp
@@ -71,15 +71,18 @@ void cpc_smartwatch_device::device_reset()
READ8_MEMBER(cpc_smartwatch_device::rtc_w)
{
uint8_t* bank = (uint8_t*)m_bank->base();
- if(offset & 1)
- m_rtc->read_1(space,0);
- else
- m_rtc->read_0(space,0);
+ if (!machine().side_effects_disabled())
+ {
+ if(offset & 1)
+ m_rtc->read_1();
+ else
+ m_rtc->read_0();
+ }
return bank[offset & 1];
}
READ8_MEMBER(cpc_smartwatch_device::rtc_r)
{
uint8_t* bank = (uint8_t*)m_bank->base();
- return ((bank[(offset & 1)+4]) & 0xfe) | (m_rtc->read_data(space,0) & 0x01);
+ return ((bank[(offset & 1)+4]) & 0xfe) | (m_rtc->read_data() & 0x01);
}
4d8f64ab38?s=13&d=retro' /> angelosa16 months draggable-layoutAdd support for dragging position-animated layout items. Aaron Giles4 years dribbling-nlMerge branch 'dribbling-nl' of https://github.com/mamedev/mame into dribbling-nl Aaron Giles5 years hlsl_aviplayMore work towards generic AVI playback, nw MooglyGuy6 years lisaRemove leftover Olivier Galibert3 months lua_engine_ui_refactor_2Typo fix npwoods6 years m57_troangel-blueseairem/m57_v.cpp: swap red PROM palette bit meaning as per #11443 angelosa21 months make_coco_fdc_fixed[CoCo] Backing out MCFG_SLOT_FIXED(true) Nathan Woods8 years mastercpu/h8/h8_adc.cpp: Wrap channel to avoid crash if end channel gets set lower ... Vas Crabb3 hours n64-angrylionnw, initial merge of angrylion's RDP changes. therealmogminer@gmail.com10 years netlist-generatednetlist.lua: Fix merge, remove headers again. couriersud5 years new_menusSwallowing shortcut keys the first time the menu comes up; now ESC in the F4 ... Nathan Woods11 years nl-splitfrogsWorking now. Original speed: 215%. Split speed: 491%. Ideally should be Aaron Giles5 years nl_dipsFix missing parentheses Aaron Giles5 years nltool-updatesnltool: Improvements to static solver generation: Aaron Giles5 years py_regtestsImprove abstract class docs angelosa4 years qt6_position-fixchore: identifier changed pattern ... angelosa4 months rendlay_vid-render: Added optional per-frame update support to layout elements. [Ryan Ho... mooglyguy5 years saturn_cdblockAttempting to change transfer active mechanism, doesn't change anything, to b... angelosa10 years saturn_vdp_splitsegasaturn_vdp2.cpp: add m_gfxdecode device, fix startup crash. Add notes rev... angelosa3 years save-experimentsBetter handling of null/missing items. More consistent error handling. Reduce... Aaron Giles4 years save_structsUpdate voodoo code to leverage new save_registrar instead of its own temporar... Aaron Giles4 years shangha3_dropshangha3_v.cpp: proposed fix for shangha3 drawing phantom drop shadows for pl... angelosa3 years taitoair_vcotaito/tc0080vco.cpp: describe fix angelosa2 years taitowlf_zoomtaito/taitowlf.cpp: preliminary Zoom hookup angelosa23 months time-experimentsRemaining fixes Aaron Giles4 years time-experiments2Stop memsetting structures. Aaron Giles4 years vamphalf_misncrftvamphalf.cpp: move wyvernwg to own state machine, add some basic protection t... angelosa3 years voodoo_directx11Fix some vegas games not booting Ted Green5 years x86_std-exceptionscpu/i386: saner fatal error handling angelosa13 months xbox_swlisthash/xbox_hdd.xml: QA and srcclean angelosa10 months xtalfull xtal conversion Olivier Galibert44 hours ymfm-delayClean up delay implementation a bit. Move delay setting to immediately after ... Aaron Giles4 years  TagDownloadAuthorAge mame0277commit 84cb44566c... Vas Crabb2 days mame0276commit 758c8a169a... Vas Crabb5 weeks mame0275commit 455ffbbd7e... Vas Crabb2 months mame0274commit cd82a83c3d... Vas Crabb3 months mame0273commit e11cae0a15... Vas Crabb4 months mame0272commit 5d8e4cf07e... Vas Crabb5 months mame0271commit 4da96a0c4f... Vas Crabb6 months mame0270commit ef032a31e5... Vas Crabb7 months mame0269commit 6d1970f5f1... Vas Crabb8 months mame0268commit acea8712d6... Vas Crabb9 months mame0267commit 663abae071... Vas Crabb10 months mame0266commit cd7817b220... Vas Crabb11 months mame0265commit f8af5cc2cf... Vas Crabb12 months mame0264commit 5b670ad51f... Vas Crabb13 months mame0263commit 93d8318325... Vas Crabb14 months mame0262commit d48a61f921... Vas Crabb15 months mame0261commit ca50094e8d... Vas Crabb17 months mame0260commit 0a7f1fe9cf... Vas Crabb18 months mame0259commit 4ff20056c3... Vas Crabb19 months mame0258commit 2e0aa82350... Vas Crabb20 months mame0257commit f811a66c53... Vas Crabb21 months mame0256commit b41370db02... Vas Crabb22 months mame0255commit c6650dc072... Vas Crabb23 months mame0254commit bfa8d724a0... Vas Crabb2 years mame0253commit b6d9756c5e... Vas Crabb2 years mame0252commit fb98822c34... Vas Crabb2 years mame0251commit 34e6ec1ef8... Vas Crabb2 years mame0250commit b7cbe74c4b... Vas Crabb2 years mame0249commit 91c5b9ecea... Vas Crabb3 years mame0248commit 2d3d0deec8... Vas Crabb3 years mame0247commit fa2d36c634... Vas Crabb3 years mame0246commit 205b03897c... Vas Crabb3 years mame0245commit 5d31f0fc97... Vas Crabb3 years mame0244commit bcf77373a5... Vas Crabb3 years mame0243commit addbb8ab40...