mirror of
https://github.com/retro100/dosbox-wii.git
synced 2024-11-04 17:35:10 +01:00
Small fixes for compilation with old devkitPPC.
This commit is contained in:
parent
a034526625
commit
44c2afc9ae
@ -6,8 +6,6 @@
|
||||
#include "vconsole.h"
|
||||
|
||||
#include <gccore.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define MAX_PRINTF_LEN 512
|
||||
@ -86,7 +84,8 @@ int vconsole_print(vconsole_t* vc, const char* text)
|
||||
void vconsole_write(vconsole_t* vc, const void* buf, unsigned int len)
|
||||
{
|
||||
const char* text = buf;
|
||||
for (unsigned int i = 0; i < len; ++i) {
|
||||
unsigned int i;
|
||||
for (i = 0; i < len; ++i) {
|
||||
char ch = text[i];
|
||||
if (ch == '\0') {
|
||||
// ignore it
|
||||
|
@ -6,6 +6,7 @@
|
||||
#ifndef VCONSOLE_H
|
||||
#define VCONSOLE_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define VCONSOLE_WIDTH 73 // usable are 72
|
||||
|
@ -8,7 +8,6 @@
|
||||
#endif
|
||||
#include "wiiio.h"
|
||||
#include "vconsole.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static vconsole_t* vc = NULL;
|
||||
|
@ -6,6 +6,7 @@
|
||||
#ifndef WIIIO_H
|
||||
#define WIIIO_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user