Javanaise / mrboom-libretro

Mr.Boom is an 8 player Bomberman clone for RetroArch/Libretro
http://mrboom.mumblecore.org
MIT License
206 stars 61 forks source link

asm: convert C hacks #101

Closed SimpleTease closed 3 years ago

SimpleTease commented 3 years ago

asm2c generated.

frranck commented 3 years ago

PS: what about a "submarine" theme for the new level?

SimpleTease commented 3 years ago

I'm not sure if it's done correctly so needs rechecking.

PS: what about a "submarine" theme for the new level?

That would be a welcome change to the jukebox.

SimpleTease commented 3 years ago

I'm not sure if it's done correctly so needs rechecking.

Meaning removal of dword ptr. I don't know if we need to keep word ptr or not.

frranck commented 3 years ago

not sure I understand, but for example if you change this.

to cmp team3_sauve,4 or cmp [team3_sauve],4 then regenerate mrboom.c, there will be no difference in mrboom.c, because asm2c will figure out the variable size.

SimpleTease commented 3 years ago

Oh! Okay. I'll experiment.

SimpleTease commented 3 years ago

Generates same C file with most data ptr removed.