mirror of
https://github.com/RetroDECK/org.mamedev.MAME.git
synced 2025-01-19 11:05:37 +00:00
Remove obsolete patch, fixed upstream
This commit is contained in:
parent
b570e32de5
commit
72de661800
37
irobot.patch
37
irobot.patch
|
@ -1,37 +0,0 @@
|
|||
diff --git a/src/mame/atari/irobot_m.cpp b/src/mame/atari/irobot_m.cpp
|
||||
index dfb5987e7e8..f6d24db5a9a 100644
|
||||
--- a/src/mame/atari/irobot_m.cpp
|
||||
+++ b/src/mame/atari/irobot_m.cpp
|
||||
@@ -315,12 +315,11 @@ void irobot_state::irmb_dout(const irmb_ops *curop, uint32_t d)
|
||||
void irobot_state::load_oproms()
|
||||
{
|
||||
uint8_t *MB = memregion("proms")->base() + 0x20;
|
||||
- int i;
|
||||
|
||||
/* allocate RAM */
|
||||
m_mbops = std::make_unique<irmb_ops[]>(1024);
|
||||
|
||||
- for (i = 0; i < 1024; i++)
|
||||
+ for (int i = 0; i < 1024; i++)
|
||||
{
|
||||
int nxtadd, func, ramsel, diradd, latchmask, dirmask, time;
|
||||
|
||||
@@ -387,12 +386,14 @@ void irobot_state::load_oproms()
|
||||
void irobot_state::init_irobot()
|
||||
{
|
||||
for (int i = 0; i < 16; i++)
|
||||
- {
|
||||
- m_irmb_stack[i] = &m_mbops[0];
|
||||
m_irmb_regs[i] = 0;
|
||||
- }
|
||||
- m_irmb_latch = 0;
|
||||
+
|
||||
load_oproms();
|
||||
+
|
||||
+ for (int i = 0; i < 16; i++)
|
||||
+ m_irmb_stack[i] = &m_mbops[0];
|
||||
+
|
||||
+ m_irmb_latch = 0;
|
||||
}
|
||||
|
||||
TIMER_DEVICE_CALLBACK_MEMBER(irobot_state::irobot_irmb_done_callback)
|
Loading…
Reference in a new issue