mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
f03f08a38f
* a * Dizzy Dial * Dried shroom * Dusty Hammer * Egg Missile * Electro Pop * Fire Flower * Food * Fright Jar * Hustle Drink * Insecticide Herb * Life Shroom * Mushroom * Mystery (partial) * Pebble * Please Come Back * POW Block * Repel Gel * Shooting Star * Sleepy Sheep * Snowman Doll * Stone Cap * Stop Watch * Strange Cake * Strange Cake fixed * Stone Cap broked * git subrepo pull --force tools/splat subrepo: subdir: "tools/splat" merged: "db0b6f0cba" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "db0b6f0cba" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * Static all the things * Tasty Tonic * Thunder Bolt * Thunder Rage * Ultra Shroom * Unknown Item * Volt Shroom Format & coverage * Item Ids Co-authored-by: Lavos1 <saintlouisxx@gmail.com>
23 lines
621 B
C
23 lines
621 B
C
#ifndef __INCLUDE_ASM_H__
|
|
#define __INCLUDE_ASM_H__
|
|
|
|
#define STRINGIFY_(x) #x
|
|
#define STRINGIFY(x) STRINGIFY_(x)
|
|
|
|
#if !defined(SPLAT) && !defined(__CTX__) && !defined(PERMUTER)
|
|
#ifndef INCLUDE_ASM
|
|
#define INCLUDE_ASM(TYPE, FOLDER, NAME, ARGS...) \
|
|
TYPE NAME(ARGS); \
|
|
TYPE __attribute__((naked)) NAME(ARGS) { __asm__( ".include \"ver/"STRINGIFY(VERSION)"/asm/nonmatchings/"FOLDER"/"#NAME".s\"\n.set reorder\n.set at"); }
|
|
#endif
|
|
__asm__(".include \"include/macro.inc\"\n");
|
|
#ifdef MOVE_ADDU
|
|
__asm__(".include \"include/move_addu.inc\"\n");
|
|
#endif
|
|
#else
|
|
#define INCLUDE_ASM(TYPE, FOLDER, NAME, ARGS...)
|
|
#endif
|
|
|
|
|
|
#endif
|