Files
Microtransactions64/include/config/config_rom.h
Mr-Wiseguy 4dfb8d9a64 Implemented native Gamecube controller support and corresponding emulator hint in ROM header (#408)
* Implemented native Gamecube controller support and corresponding emulator hint in ROM header

* Added X and Y buttons to VALID_BUTTONS in sm64.h

* Added workaround in controller type detection for mupen bug

* read GC controllers from port 2

* L to Z logic for GC controller uses a threshold

* Changed threshold for L trig to around 33%

Changed threshold based on feedback

* Added gGamecubeControllerPort

* fixed wrong check

Co-authored-by: Reonu <danileon95@gmail.com>
2022-09-21 21:30:36 -05:00

34 lines
1006 B
C

#pragma once
/****************
* ROM SETTINGS *
****************/
/**
* Internal ROM name. NEEDS TO BE **EXACTLY** 20 CHARACTERS. Can't be 19 characters, can't be 21 characters. You can fill it with spaces.
* The end quote should be here: "
*/
#define INTERNAL_ROM_NAME "HackerSM64 "
/**
* Enables Rumble Pak Support.
* Currently not recommended, as it may cause random crashes.
*/
// #define ENABLE_RUMBLE (1 || VERSION_SH)
/**
* Screen Size Defines.
*/
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
/**
* Height of the black borders at the top and bottom of the screen for NTSC Versions. You can set it to different values for console and emulator.
* There is generally no reason to have a value other than 0 for emulator. As for console, it provides a (small) performance boost.
*/
#define BORDER_HEIGHT_CONSOLE 0
#define BORDER_HEIGHT_EMULATOR 0
// Informs supported emulators to default to gamecube controller inputs
// #define USE_GAMECUBE_CONTROLLER