[nostalgia/tools/pack] Cleanup unnecessary use of Qt

This commit is contained in:
Gary Talent 2019-06-17 23:11:01 -05:00
parent e58407f156
commit 67b2764dc7

View File

@ -7,9 +7,7 @@
*/
#include <iostream>
#include <QColor>
#include <QImage>
#include <QMap>
#include <vector>
#include <nostalgia/core/gba/gba.hpp>
#include <nostalgia/common/point.hpp>
#include <ox/clargs/clargs.hpp>
@ -23,8 +21,8 @@ using namespace ox;
using namespace nostalgia::core;
using namespace nostalgia::common;
ox::ValErr<std::vector<uint8_t>> loadFileBuff(QString path, ::size_t *sizeOut = nullptr) {
auto file = fopen(path.toUtf8(), "rb");
ox::ValErr<std::vector<uint8_t>> loadFileBuff(std::string path, ::size_t *sizeOut = nullptr) {
auto file = fopen(path.c_str(), "rb");
if (file) {
fseek(file, 0, SEEK_END);
const auto size = ftell(file);